数据库与嵌入式资源C# [英] Database vs Embedded Resources C#
本文介绍了数据库与嵌入式资源C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
无论如何将数据库打包到项目的可执行文件中?在这种情况下,嵌入式资源选项以及实体部署都不起作用。
我想将项目中的所有内容打包到一个文件中,但是我不能将数据库放在那里。
Is there anyway to pack a database into the project''s executable file ? The Embedded Resources option is not working in this case as well as the Entity Deploy.
I''d like to pack everything inside a project into a single file but I can''t put the database in there.
推荐答案
试试这些:
想要部署带有SQL数据库的C#应用程序 [ ^ ]
< a href =http://blogs.msdn.com/b/manisblog/archive/2008/12/22/how-to-deploy-sql-server-2008-express-as-clickonce-prerequisite.aspx>如何部署SQL Server 2008 Express作为ClickOnce的先决条件 [ ^ ]
hope它有帮助:)
Try these:
Want to deploy my C# application with SQL data base[^]
How to deploy SQL Server 2008 Express as a prerequisite with ClickOnce[^]
hope it helps :)
这篇关于数据库与嵌入式资源C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文