Compartilhar via


EntityConnection.CreateCommand Método

Definição

Cria uma nova instância de um EntityCommand, com o Connection definido para esse 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

Retornos

Um objeto EntityCommand.

Exceções

O nome do provedor de dados subjacente não é conhecido.

Aplica-se a