ChangeDatabase Method

EntityConnection.ChangeDatabase Method (String)

 

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.

Exception Condition
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
Available since 3.5
Return to top
Show:
© 2016 Microsoft