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.
精彩评论