问题
I am trying to setup an embedded database for my c# application. I try many things but cannot get it working. How can I do it? I mean which files to which folder? I have firebirdclient referenced in my program. Could you please write a summary? thanks in advance...
回答1:
- Ensure that the
fbembed.dll
is in the same folder as your application source code - Add the
fbembed.dll
to your C Sharp application from the "Add existing item" menu option (if you have not already done so) - Set the output property of this item to "Copy Always".
I have been using C#
and fbembed.dll
a lot recently, if you need any more information please reply here.
回答2:
With little bit older links (older versions of FB), but still valid http://blog.cincura.net/224165-firebird-embedded-and-net/ .
Also you should use proper fbembed.dll and not just rename fbclient.dll.
来源:https://stackoverflow.com/questions/8725546/how-to-create-an-embedded-database-using-firebird-in-c-sharp