HI WELCOME TO KANSIRIS

Migration Commands in case of multiple connection strings

Leave a Comment
Add-Migration Name -ConnectionString “Server=.;Database=Dbname;Trusted_Connection=True;” -ConnectionProviderName “System.Data.SqlClient” -verbose
Update-Database -ConnectionString ” Server=.;Database=Dbname ;Trusted_Connection=True;” -ConnectionProviderName “System.Data.SqlClient” -verbose

0 comments:

Post a Comment

Note: only a member of this blog may post a comment.