EntityConnection.CreateCommand Метод

Определение

Создает новый экземпляр EntityCommand, свойство Connection которого установлено в значение 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

Возвращаемое значение

Объект EntityCommand.

Исключения

Имя базового поставщика данных неизвестно.

Применяется к