开发者

SQL Server Express C# application install combination

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜