-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Microsoft .NET Framework 4.5 Quickstart Cookbook
By :
In this recipe we will use Code First code Migrations to evolve our model and update the database. You might be asking yourself why this is so important. Isn't this just another way of doing something we already knew how to do?
Not so! It solves a very important problem in a simple and efficient way. Haven't we all at some time had the problem of deploying software and keeping the database up-to-date? Well, this solves this exact problem. And in a very easy and simple way, I must add.
How? Keep reading.
In order to use this recipe, you should have Visual Studio 2012 installed. It would be good to have implemented the previous recipe and worked on the resulting solution.
Using this recipe we will implement Code First Migrations and show how to evolve our model and revert it to a previous version.
First, open Visual Studio 2012 and open the previous project. We recommend copying it to a new folder so if anything goes wrong (you all know Murphy...
Change the font size
Change margin width
Change background colour