EntityCommand Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy EntityCommand.

Przeciążenia

Nazwa Opis
EntityCommand()

Inicjuje nowe wystąpienie EntityCommand klasy przy użyciu określonych wartości.

EntityCommand(String)

Inicjuje nowe wystąpienie EntityCommand klasy za pomocą określonej instrukcji.

EntityCommand(String, EntityConnection)

Inicjuje nowe wystąpienie EntityCommand klasy z określoną instrukcją i połączeniem.

EntityCommand(String, EntityConnection, EntityTransaction)

Inicjuje nowe wystąpienie EntityCommand klasy z określoną instrukcją, połączeniem i transakcją.

EntityCommand()

Inicjuje nowe wystąpienie EntityCommand klasy przy użyciu określonych wartości.

public:
 EntityCommand();
public EntityCommand();
Public Sub New ()

Dotyczy

EntityCommand(String)

Inicjuje nowe wystąpienie EntityCommand klasy za pomocą określonej instrukcji.

public:
 EntityCommand(System::String ^ statement);
public EntityCommand(string statement);
new System.Data.EntityClient.EntityCommand : string -> System.Data.EntityClient.EntityCommand
Public Sub New (statement As String)

Parametry

statement
String

Tekst rozkazu.

Dotyczy

EntityCommand(String, EntityConnection)

Inicjuje nowe wystąpienie EntityCommand klasy z określoną instrukcją i połączeniem.

public:
 EntityCommand(System::String ^ statement, System::Data::EntityClient::EntityConnection ^ connection);
public EntityCommand(string statement, System.Data.EntityClient.EntityConnection connection);
new System.Data.EntityClient.EntityCommand : string * System.Data.EntityClient.EntityConnection -> System.Data.EntityClient.EntityCommand
Public Sub New (statement As String, connection As EntityConnection)

Parametry

statement
String

Tekst rozkazu.

connection
EntityConnection

Połączenie ze źródłem danych.

Dotyczy

EntityCommand(String, EntityConnection, EntityTransaction)

Inicjuje nowe wystąpienie EntityCommand klasy z określoną instrukcją, połączeniem i transakcją.

public:
 EntityCommand(System::String ^ statement, System::Data::EntityClient::EntityConnection ^ connection, System::Data::EntityClient::EntityTransaction ^ transaction);
public EntityCommand(string statement, System.Data.EntityClient.EntityConnection connection, System.Data.EntityClient.EntityTransaction transaction);
new System.Data.EntityClient.EntityCommand : string * System.Data.EntityClient.EntityConnection * System.Data.EntityClient.EntityTransaction -> System.Data.EntityClient.EntityCommand
Public Sub New (statement As String, connection As EntityConnection, transaction As EntityTransaction)

Parametry

statement
String

Tekst rozkazu.

connection
EntityConnection

Połączenie ze źródłem danych.

transaction
EntityTransaction

Transakcja, w której jest wykonywane polecenie.

Dotyczy