How to create an embedded database using Firebird in C#

安稳与你 提交于 2019-12-24 13:14:45

问题


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:


  1. Ensure that the fbembed.dll is in the same folder as your application source code
  2. Add the fbembed.dll to your C Sharp application from the "Add existing item" menu option (if you have not already done so)
  3. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!