EntityCommand コンストラクター

定義

EntityCommand クラスの新しいインスタンスを初期化します。

オーバーロード

EntityCommand()

指定した値を使用して、EntityCommand クラスの新しいインスタンスを初期化します。

EntityCommand(String)

指定したステートメントを使用して、EntityCommand クラスの新しいインスタンスを初期化します。

EntityCommand(String, EntityConnection)

指定したステートメントと接続を使用して、EntityCommand クラスの新しいインスタンスを初期化します。

EntityCommand(String, EntityConnection, EntityTransaction)

指定したステートメント、接続、およびトランザクションを使用して、EntityCommand クラスの新しいインスタンスを初期化します。

EntityCommand()

指定した値を使用して、EntityCommand クラスの新しいインスタンスを初期化します。

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

適用対象

EntityCommand(String)

指定したステートメントを使用して、EntityCommand クラスの新しいインスタンスを初期化します。

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)

パラメーター

statement
String

コマンドのテキストを指定します。

適用対象

EntityCommand(String, EntityConnection)

指定したステートメントと接続を使用して、EntityCommand クラスの新しいインスタンスを初期化します。

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)

パラメーター

statement
String

コマンドのテキストを指定します。

connection
EntityConnection

データ ソースへの接続。

適用対象

EntityCommand(String, EntityConnection, EntityTransaction)

指定したステートメント、接続、およびトランザクションを使用して、EntityCommand クラスの新しいインスタンスを初期化します。

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)

パラメーター

statement
String

コマンドのテキストを指定します。

connection
EntityConnection

データ ソースへの接続。

transaction
EntityTransaction

コマンドを実行するトランザクション。

適用対象