entity framework - Code Based Code First Migration -


how implement code first migrations without package manager console commands. want implement code first migrations logic using code. don't want write following commands

pm    >      enable-migrations pm    >      add-migration pm    >      update-database 

please tell me best practice.

thanks in advance

have @ using migrate.exe tool supplied when install ef package.

http://msdn.microsoft.com/en-gb/data/jj618307.aspx

you theoretically call code.


Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -