Visual studio feeds

All Visual Studio blogs in one place

Subscribe

Enter your email address:

Delivered by FeedBurner

Increase your website traffic with Attracta.com

Google+

Contact

Email:
Subject:
Message:
Anti-spam: How many eyes has a typical person?

Follow us on FB

Search

Code First Migrations: Beta 1 ‘No-Magic’ Walkthrough

AddThis Social Bookmark Button
We have released the fourth preview of our migrations story for Code First development; Code First Migrations Beta 1. This release includes a preview of the developer experience for incrementally evolving a database as your Code First model evolves over time. This post will provide an overview of the functionality that is available inside of Visual Studio for interacting with migrations. We will focus on the ‘no-magic’ workflow for using migrations. In this workflow each change is written out to a code-based migration that resides in your project. There is a separate Code First Migrations: Beta 1
‘With-Magic’ Walkthrough that shows how this same set of changes can be applied by making use of automatic migrations. This post assumes you have a basic understanding of the Code First functionality that is included in EF 4.2, if you are not familiar with Code First then please complete the Code First Walkthrough.   Building an Initial Model Before we start using migrations we need a project and a Code First model to work with. For this walkthrough we are going to use the canonical Blog and Post model. ...(Read whole news on source site)

Home : Blog List : ADO.NET team blog - Site Home - MSDN Blogs : Code First Migrations: Beta 1 ‘No-Magic’ Walkthrough