Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

public function MigrateDatabaseToLatestVersion(
	connectionStringName : String


Type: System.String

The name of the connection string to use for migration.

© 2015 Microsoft