Export (0) Print
Expand All

EntityConnection.ChangeDatabase Method

Not supported.

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

public override void ChangeDatabase(
	string databaseName
)

Parameters

databaseName
Type: System.String

Not supported.

Implements

IDbConnection.ChangeDatabase(String)

ExceptionCondition
NotSupportedException

When the method is called.

The ChangeDatabase method is required when deriving from DbConnection. This method is not supported and will raise a NotSupportedException.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft