다음을 통해 공유


EntityCommand 생성자

정의

오버로드

EntityCommand()

지정된 값을 사용하여 EntityCommand 클래스의 새 인스턴스를 초기화합니다.

EntityCommand(String)

지정된 문을 사용하여 EntityCommand 클래스의 새 인스턴스를 초기화합니다.

EntityCommand(String, EntityConnection)

지정된 문 및 연결을 사용하여 EntityCommand 클래스의 새 인스턴스를 초기화합니다.

EntityCommand(String, EntityConnection, EntityTransaction)

지정된 문, 연결 및 트랜잭션을 사용하여 EntityCommand 클래스의 새 인스턴스를 초기화합니다.

EntityCommand(String, EntityConnection, IDbDependencyResolver)

지정된 eSQL 문과 사용할 연결 개체를 사용하여 EntityCommand 개체를 생성합니다.

EntityCommand()

지정된 값을 사용하여 EntityCommand 클래스의 새 인스턴스를 초기화합니다.

public EntityCommand ();
Public Sub New ()

적용 대상

EntityCommand(String)

지정된 문을 사용하여 EntityCommand 클래스의 새 인스턴스를 초기화합니다.

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

매개 변수

statement
String

명령 텍스트입니다.

적용 대상

EntityCommand(String, EntityConnection)

지정된 문 및 연결을 사용하여 EntityCommand 클래스의 새 인스턴스를 초기화합니다.

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

매개 변수

statement
String

명령 텍스트입니다.

connection
EntityConnection

데이터 소스와의 연결입니다.

적용 대상

EntityCommand(String, EntityConnection, EntityTransaction)

지정된 문, 연결 및 트랜잭션을 사용하여 EntityCommand 클래스의 새 인스턴스를 초기화합니다.

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

매개 변수

statement
String

명령 텍스트입니다.

connection
EntityConnection

데이터 소스와의 연결입니다.

transaction
EntityTransaction

명령이 실행되는 트랜잭션입니다.

적용 대상

EntityCommand(String, EntityConnection, IDbDependencyResolver)

지정된 eSQL 문과 사용할 연결 개체를 사용하여 EntityCommand 개체를 생성합니다.

public EntityCommand (string statement, System.Data.Entity.Core.EntityClient.EntityConnection connection, System.Data.Entity.Infrastructure.DependencyResolution.IDbDependencyResolver resolver);
new System.Data.Entity.Core.EntityClient.EntityCommand : string * System.Data.Entity.Core.EntityClient.EntityConnection * System.Data.Entity.Infrastructure.DependencyResolution.IDbDependencyResolver -> System.Data.Entity.Core.EntityClient.EntityCommand
Public Sub New (statement As String, connection As EntityConnection, resolver As IDbDependencyResolver)

매개 변수

statement
String

실행할 eSQL 명령 텍스트

connection
EntityConnection

연결 개체

resolver
IDbDependencyResolver

DbProviderServices를 resolve 데 사용되는 해결 프로그램

적용 대상