Model First with DbContext, Fails to initialize new DataBase

前端 未结 4 1241
滥情空心
滥情空心 2020-12-03 06:52

I give up. I found this: http://blogs.msdn.com/b/adonet/archive/2011/03/15/ef-4-1-model-amp-database-first-walkthrough.aspx And thought, that\'s cool. So I quickly redesigne

4条回答
  •  抹茶落季
    2020-12-03 07:54

    Add this connection string to web config and make changes:
    
    
    
    EFmodel is my .edmx file name.
    
    OrderDB is database name.
    

提交回复
热议问题