开发者

How to create the initial database on deployment?

开发者 https://www.devze.com 2023-01-02 12:27 出处:网络
If I have a Silverlight application, and I am publishing to my loc开发者_StackOverflow中文版alhost IIS server with the web deploy option:

If I have a Silverlight application, and I am publishing to my loc开发者_StackOverflow中文版alhost IIS server with the web deploy option:

  • Can my database be automatically created in SQL Server Express? I'm not talking about creating tables and columns etc, i'm talking about creating the actual database at the destination.

  • How would I do that?


Yes, if you specify a database name in the connection string it will automatically be created if it does not exist.

0

精彩评论

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