다음을 통해 공유


ObjectResult 클래스

정의

이 클래스는 IEnumerable 및 IDisposable을 구현합니다. 이 클래스의 인스턴스는 ObjectQuery.Execute 메서드에서 반환됩니다.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1010:CollectionsShouldImplementGenericInterface")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix")]
public abstract class ObjectResult : IDisposable, System.Collections.IEnumerable, System.ComponentModel.IListSource, System.Data.Entity.Infrastructure.IDbAsyncEnumerable
type ObjectResult = class
    interface IEnumerable
    interface IDisposable
    interface IListSource
    interface IDbAsyncEnumerable
Public MustInherit Class ObjectResult
Implements IDbAsyncEnumerable, IDisposable, IEnumerable, IListSource
상속
ObjectResult
파생
특성
구현

생성자

ObjectResult()

이 생성자는 모의 또는 가짜 동작으로 멤버를 재정의하는 테스트 더블을 만들 때만 사용됩니다. 이 생성자를 다른 용도로 사용하면 을 throw하는 NullReferenceException등의 예기치 않은 동작이 발생할 수 있습니다.

속성

ElementType

파생 클래스에서 재정의되는 경우 제네릭 ObjectResult<T> 의 형식을 가져옵니다.

메서드

Dispose()

리소스 확보, 해제 또는 재설정과 관련된 작업을 수행합니다.

Dispose(Boolean)

개체 결과에 사용되는 리소스를 해제합니다.

GetNextResult<TElement>()

저장된 프로시저의 다음 결과 집합을 가져옵니다.

명시적 인터페이스 구현

IDbAsyncEnumerable.GetAsyncEnumerator()

시퀀스를 비동기적으로 열거하는 데 사용할 수 있는 열거자를 가져옵니다.

IEnumerable.GetEnumerator()

쿼리 결과를 반복하는 열거자를 반환합니다.

IListSource.ContainsListCollection

IListSource.ContainsListCollection 구현. 항상 false를 반환합니다.

IListSource.GetList()

데이터 바인딩에 유용한 형식의 결과를 반환합니다.

적용 대상