Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]
Gets or sets a value to override the connection of the database to be migrated.
Namespace: System.Data.Entity.Migrations
Assembly: EntityFramework (in EntityFramework.dll)
'Declaration
Public Property TargetDatabase As DbConnectionInfo
Get
Set
'Usage
Dim instance As DbMigrationsConfiguration
Dim value As DbConnectionInfo
value = instance.TargetDatabase
instance.TargetDatabase = value
public DbConnectionInfo TargetDatabase { get; set; }
public:
property DbConnectionInfo^ TargetDatabase {
DbConnectionInfo^ get ();
void set (DbConnectionInfo^ value);
}
member TargetDatabase : DbConnectionInfo with get, set
function get TargetDatabase () : DbConnectionInfo
function set TargetDatabase (value : DbConnectionInfo)
Type: System.Data.Entity.Infrastructure.DbConnectionInfo
Please sign in to use this experience.
Sign in