如何在C#中使用Firebird创建嵌入式数据库 [英] How to create an embedded database using Firebird in C#

查看:201
本文介绍了如何在C#中使用Firebird创建嵌入式数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为我的C#应用​​程序设置嵌入式数据库。我尝试了很多事情,但无法正常工作。我该怎么做?我的意思是哪个文件到哪个文件夹?我的程序中引用了firebirdclient。你能写个总结吗?在此先感谢...

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. 确保 fbembed.dll 与应用程序源代码位于同一文件夹中

  2. fbembed.dll 添加到C Sharp 添加现有项目 菜单选项中的应用程序(如果您尚未这样做的话)

  3. 将此项目的输出属性设置为复制始终。

  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".

我一直在使用 C# fbembed.dll 最近很多,如果您需要更多信息,请在此处答复。

I have been using C# and fbembed.dll a lot recently, if you need any more information please reply here.

这篇关于如何在C#中使用Firebird创建嵌入式数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆