EntityConnection.CreateCommand Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of an EntityCommand, with the Connection set to this EntityConnection.
public:
System::Data::EntityClient::EntityCommand ^ CreateCommand();
public System.Data.EntityClient.EntityCommand CreateCommand ();
override this.CreateCommand : unit -> System.Data.EntityClient.EntityCommand
Public Function CreateCommand () As EntityCommand
Returns
An EntityCommand object.
Exceptions
The name of the underlying data provider is not known.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.