Skip to content

Instantly share code, notes, and snippets.

@jpogran
Created March 16, 2011 14:00
Show Gist options
  • Save jpogran/872536 to your computer and use it in GitHub Desktop.
Save jpogran/872536 to your computer and use it in GitHub Desktop.
EF 4.1 create database script from metadata
var script = ((IObjectContextAdapter)context).ObjectContext.CreateDatabaseScript();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment