MigrateDatabaseToLatestVersion(TContext, TMigrationsConfiguration) Constructor (String)

Entity Framework 5.0

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.

Namespace:  System.Data.Entity
Assembly:  EntityFramework (in EntityFramework.dll)

new : 
        connectionStringName:string -> MigrateDatabaseToLatestVersion

Parameters

connectionStringName
Type: System.String

The name of the connection string to use for migration.

Show: