开发者

SQL Server Express C# application install combination

开发者 https://www.devze.com 2023-02-20 04:43 出处:网络
What开发者_高级运维 is the best way to deploy SQL Server Express Edition with an application for release?We also need to bring the data along as well.

What开发者_高级运维 is the best way to deploy SQL Server Express Edition with an application for release? We also need to bring the data along as well.

I read that you use the SQL Server Express MSI installer, but how do we go about importing all the tables, views, sproc, data, etc?

This will be deployed to multiple customer sites and we need to start testing an install.

Any ideas will be greatly welcomed.

Thanks.


You can ship an MDF with your application and attach it at application runtime using the information at the following MSDN page.

http://msdn.microsoft.com/en-us/library/ms165716.aspx

This is similar to the way visual studio/ASP.Net attaches MDF files in App_Data.

0

精彩评论

暂无评论...
验证码 换一张
取 消