-4

I am just try to creating Database using entity Framework5.0 code first Approach In Mvc web Application when i execute code it execute fine but not creating database.if i send input values from views then Database is created??? I Want to know whats the mechanism behind this entity frame work code Approach Can any one Help to find out the mechanism of entity frame work.

4

2 回答 2

0

我猜你使用了错误的数据库创建策略

于 2013-06-13T08:35:31.853 回答
0

怎么知道它没有创建数据库?如果一切正常,我的意思是没有错误,数据库应该已经创建了。

我的猜测是您没有指定导致在 SQL Express 中创建数据库的连接字符串。

于 2013-06-13T09:02:23.507 回答