MigrateDatabaseToLatestVersion(Of 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)

'Declaration
Public Sub New ( _
	connectionStringName As String _
)
'Usage
Dim connectionStringName As String 

Dim instance As New MigrateDatabaseToLatestVersion(connectionStringName)

Parameters

connectionStringName
Type: System.String

The name of the connection string to use for migration.

Show: