Enable Code Migrations -- Entity Framework
//QnomyContext - database name
Enable-Migrations -ContextTypeName Qnomy.Models.QnomyContext
Add-Migration "Muster" -ConnectionString "Data Source=govin\sqlexpress;initial catalog= QnomyContext; integrated security=true" -ConnectionProviderName System.Data.SqlClient
Update-Database -ConnectionString "Data Source=govin\sqlexpress;initial catalog= QnomyContext; integrated security=true" -ConnectionProviderName System.Data.SqlClient