Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EntityConnection::CreateCommand Method ()

Entity Framework 6.0
 

Creates a new instance of an EntityCommand, with the Connection set to this EntityConnection .

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

public:
virtual EntityCommand^ CreateCommand()

Exception Condition
InvalidOperationException

The name of the underlying data provider is not known.

Return to top
Show: