c# - Programatically find and apply schema differences on SQL Server -


i have product i'm authoring relies on sql server backend. 1 issue i'm trying resolve improve 'upgrade' story. v1 have particular schema , v2 may include enhancements schema (new tables , new columns).

i'm aware of sdks redgate , apexsql - avoid.

i've had read through smo docs, i'm new , struggling see if can applied in situtaiton. ideally, i'd make programatic (smo or other) - base cases seems straight forward enough, don't want re-invent wheel if can it. have experience of similar requirements or ideas how approach?

maybe not your're looking (since it's not smo) having @ entity framework code first migrations might you:

http://msdn.microsoft.com/en-us/data/jj591621

changes in model-classes can versioned , can either applied directly database or, if not have direct access database, can generate sql-code new version , hand database-administrator.


Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -