MigrateDatabaseToLatestVersion(TContext, TMigrationsConfiguration) Constructor (String)
Collapse the table of content
Expand the table of content

MigrateDatabaseToLatestVersion(TContext, TMigrationsConfiguration) Constructor (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.

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

public function MigrateDatabaseToLatestVersion(
	connectionStringName : String
)

Parameters

connectionStringName
Type: System.String

The name of the connection string to use for migration.

Show:
© 2016 Microsoft