使用C#应用程序部署SQL数据库 [英] Deploy SQL database with C# application

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

问题描述

大家好,



我找不到关于这个主题的好教程。任何人都可以指出我正确的方向将我的SQL数据库添加到使用它的C#应用​​程序(可能作为实体框架模型),然后将其与应用程序一起部署在任何计算机上工作吗?



我一直在试着想出这个问题。我的应用程序在我的计算机上工作正常,但我安装了SQL Server和一切。另一台电脑没有。所以我想将数据库添加到解决方案中,然后将其与应用程序一起部署,但我无法这样做。



请关于此的任何好教程? ?

解决方案

尝试

自动安装SQL 2005 Express的.NET安装程序 [ ^ ]

在安装.NET应用程序期间创建数据库 - 版本2 [ ^ ]

部署Appli阳离子和数据库 [ ^ ]

Hi All,

I just can't find a good tutorial on this subject. Can anyone please point me in the right direction to add my SQL database to my C# application that uses it (Maybe as an Entity Framework Model) and then deploy it with the application to work on ANY computer out there?

I've been pulling my hair out trying to figure this out. My application works fine on my computer, but I have SQL Server installed and everything. Another computer doesn't. So I want to add the database to the solution and then deploy it with the application but I am not able to do so.

Please, any GOOD tutorials on this??

解决方案

Try
.NET Installer that Automatically Installs SQL 2005 Express[^]
Create database during installation of a .NET application - Version 2[^]
Deploy your Application and Database[^]


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

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