EntityCommand Konstruktorok

Definíció

Inicializálja a EntityCommand osztály új példányát.

Túlterhelések

Name Description
EntityCommand()

Inicializálja az osztály új példányát EntityCommand a megadott értékekkel.

EntityCommand(String)

Inicializálja az osztály új példányát EntityCommand a megadott utasítással.

EntityCommand(String, EntityConnection)

Inicializálja az osztály új példányát EntityCommand a megadott utasítással és kapcsolattal.

EntityCommand(String, EntityConnection, EntityTransaction)

Inicializálja az osztály új példányát a EntityCommand megadott utasítással, kapcsolattal és tranzakcióval.

EntityCommand()

Inicializálja az osztály új példányát EntityCommand a megadott értékekkel.

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

A következőre érvényes:

EntityCommand(String)

Inicializálja az osztály új példányát EntityCommand a megadott utasítással.

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)

Paraméterek

statement
String

A parancs szövege.

A következőre érvényes:

EntityCommand(String, EntityConnection)

Inicializálja az osztály új példányát EntityCommand a megadott utasítással és kapcsolattal.

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)

Paraméterek

statement
String

A parancs szövege.

connection
EntityConnection

Kapcsolat az adatforrással.

A következőre érvényes:

EntityCommand(String, EntityConnection, EntityTransaction)

Inicializálja az osztály új példányát a EntityCommand megadott utasítással, kapcsolattal és tranzakcióval.

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)

Paraméterek

statement
String

A parancs szövege.

connection
EntityConnection

Kapcsolat az adatforrással.

transaction
EntityTransaction

Az a tranzakció, amelyben a parancs végrehajtja.

A következőre érvényes: