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

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -