romiller.com

Program Manager on the .NET team at Microsoft

Skip to content
  • Home
Search

Month: February 2012

Testing With a Fake DbContext

February 14, 2012November 16, 2016 / romiller.com

One of the most popular posts on my blog has been “EF CTP4 Tips & Tricks: Testing With Fake DbContext”. That post was built on a pre-release version of Entity Framework so I thought I’d provide an updated post on top of the DbContext API surface we ended up shipping. In this post we are … Continue reading Testing With a Fake DbContext

Running & Scripting Migrations from Code

February 9, 2012November 16, 2016 / romiller.com

Code First Migrations is included as part of Entity Framework starting with the EF 4.3 release. Migrations are normally created and run from the Package Manager Console in Visual Studio. These commands are just thin wrappers over public APIs that you can call directly from your own code. In this post you’ll see how to … Continue reading Running & Scripting Migrations from Code

Blog at WordPress.com.
  • Subscribe Subscribed
    • romiller.com
    • Join 262 other subscribers
    • Already have a WordPress.com account? Log in now.
    • romiller.com
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar