Skip to content

Instantly share code, notes, and snippets.

@KavenTheriault
Last active November 8, 2017 19:52
Show Gist options
  • Save KavenTheriault/375964f0d747ddabba15481e98dc3e83 to your computer and use it in GitHub Desktop.
Save KavenTheriault/375964f0d747ddabba15481e98dc3e83 to your computer and use it in GitHub Desktop.
Entity command example

Install package with specific version

Install-Package EntityFramework -version 6.1.3

Run migration for specific connection string name

Update-Database -ConnectionStringName applicationDB2

Add migration with name "AddStateToUser" and compare database structure from specific connection string name

Add-Migration AddStateToUser -ConnectionStringName applicationDB1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment