EntityCommand Constructors

Definitie

Initialiseert een nieuw exemplaar van de EntityCommand klasse.

Overloads

Name Description
EntityCommand()

Initialiseert een nieuw exemplaar van de EntityCommand klasse met behulp van de opgegeven waarden.

EntityCommand(String)

Initialiseert een nieuw exemplaar van de EntityCommand klasse met de opgegeven instructie.

EntityCommand(String, EntityConnection)

Initialiseert een nieuw exemplaar van de EntityCommand klasse met de opgegeven instructie en verbinding.

EntityCommand(String, EntityConnection, EntityTransaction)

Initialiseert een nieuw exemplaar van de EntityCommand klasse met de opgegeven instructie, verbinding en transactie.

EntityCommand()

Initialiseert een nieuw exemplaar van de EntityCommand klasse met behulp van de opgegeven waarden.

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

Van toepassing op

EntityCommand(String)

Initialiseert een nieuw exemplaar van de EntityCommand klasse met de opgegeven instructie.

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)

Parameters

statement
String

De tekst van het commando.

Van toepassing op

EntityCommand(String, EntityConnection)

Initialiseert een nieuw exemplaar van de EntityCommand klasse met de opgegeven instructie en verbinding.

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)

Parameters

statement
String

De tekst van het commando.

connection
EntityConnection

Een verbinding met de gegevensbron.

Van toepassing op

EntityCommand(String, EntityConnection, EntityTransaction)

Initialiseert een nieuw exemplaar van de EntityCommand klasse met de opgegeven instructie, verbinding en transactie.

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)

Parameters

statement
String

De tekst van het commando.

connection
EntityConnection

Een verbinding met de gegevensbron.

transaction
EntityTransaction

De transactie waarin de opdracht wordt uitgevoerd.

Van toepassing op