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