我如何使用其本地数据库SQL部署Windows C#应用程序? [英] how can i deploy windows C# application with its local database SQL ?

查看:109
本文介绍了我如何使用其本地数据库SQL部署Windows C#应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何使用其本地数据库SQL部署Windows C#应用程序?

谢谢

how can i deploy windows C# application with its local database SQL ??

Thanks

推荐答案

您将需要创建一个安装程序,该安装程序将创建/部署数据库以及应用程序安装.

看看这些:
创建设置并支持使用VS.NET创建数据库 [在安装.NET应用程序期间创建数据库 [部署您的应用程序和数据库 [
You would need to create a setup that creates/deploy database along with your application install.

Have a look at these:
Creating setup With support for database creation Using VS.NET[^]
Create database during installation of a .NET application [^]
Deploy your Application and Database[^]


如果您愿意花一些钱不愿意的话如果想非常努力地工作,我建议使用以下工具. Red Gate SQL Packager [
If you''re willing to spend some money and don''t want to work very hard, I would recommend the following tool. Red Gate SQL Packager[^]. You can point this tool and an existing database and it will do everything for you, packaging the database with scripts and existing data for deployment.

Once you have the package from the tool, your installer only needs to call that .exe file to build a database.

Good luck!

Hogan


这篇关于我如何使用其本地数据库SQL部署Windows C#应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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