开发者

Create New Table In SQL Via Entity Framework

Is there a way to create (or add) a table in existing 开发者_运维百科Database by EF?


You can use ObjectContex.ExecuteStoreCommand (EF4) and execute any SQL command (if you have required permissions in DB). So yes you can create table from "EF". But you will not add this table to mapping.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜