MigrateDatabaseToLatestVersion(TContext, TMigrationsConfiguration) Constructor
Entity Framework 5.0
Initializes a new instance of the MigrateDatabaseToLatestVersion(TContext, TMigrationsConfiguration) class.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
MigrateDatabaseToLatestVersion(TContext, TMigrationsConfiguration)() | Initializes a new instance of the MigrateDatabaseToLatestVersion class. |
|
MigrateDatabaseToLatestVersion(TContext, TMigrationsConfiguration)(String) | Initializes a new instance of the MigrateDatabaseToLatestVersion class that will use a specific connection string from the configuration file to connect to the database to perform the migration. |
Show: