开发者

How to create the initial database on deployment?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜