Closed xrkolovos closed 7 years ago
Which ConnectionString
do you mean?
@xrkolovos jewib = answer !!
@hadiidbouk what do you mean?
public static string ConnectionString { get; set; }
@xrkolovos this is in the sample project. You can just name it whatever you want in your own DbContext.
But as an aside, ConnectionStringForMigration
doesn't make much sense. This property will always be used by the DbContext. Its initial hard coded value is what gets used by the migrator.
Rename Param ConnectionString to ConnectionStringForMigration