c# - Entity Framework - Source control for database schemes and test data? -


i'm generating models entity framework powertools - keeps models date nicely. however, how can keep actual db scheme date? how populating test data? feel should covered somewhere google has failed me.

considering using "database first" approach, can (within visual studio) create "database project" scheme.

using database project, don't need keep sql managemenet studio opened maintain scheme and can configure deploy including loads of data pre-deployment , post-deployment scripts. believe simple, elegant , professional way solve problem.

the database project improved in visual studio 2012.

hope helps.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -