EntityCommand.ExecuteReader 메서드

정의

명령을 실행하고 데이터 판독기를 반환합니다.

오버로드

ExecuteReader()

명령을 실행하고 데이터 판독기를 반환합니다.

ExecuteReader(CommandBehavior)

CommandText를 명령 트리로 컴파일하고 실행을 위해 기본 저장소 공급자에 전달한 다음 지정된 EntityDataReader를 사용하여 생성된 결과 집합에서 CommandBehavior를 만듭니다.

ExecuteReader()

명령을 실행하고 데이터 판독기를 반환합니다.

public:
 System::Data::EntityClient::EntityDataReader ^ ExecuteReader();
public System.Data.EntityClient.EntityDataReader ExecuteReader ();
override this.ExecuteReader : unit -> System.Data.EntityClient.EntityDataReader
Public Function ExecuteReader () As EntityDataReader

반환

결과가 포함된 EntityDataReader입니다.

적용 대상

ExecuteReader(CommandBehavior)

CommandText를 명령 트리로 컴파일하고 실행을 위해 기본 저장소 공급자에 전달한 다음 지정된 EntityDataReader를 사용하여 생성된 결과 집합에서 CommandBehavior를 만듭니다.

public:
 System::Data::EntityClient::EntityDataReader ^ ExecuteReader(System::Data::CommandBehavior behavior);
public System.Data.EntityClient.EntityDataReader ExecuteReader (System.Data.CommandBehavior behavior);
override this.ExecuteReader : System.Data.CommandBehavior -> System.Data.EntityClient.EntityDataReader
Public Function ExecuteReader (behavior As CommandBehavior) As EntityDataReader

매개 변수

behavior
CommandBehavior

CommandBehavior 값 중 하나입니다.

반환

결과가 포함된 EntityDataReader입니다.

적용 대상