ObjectResult<T> ObjectResult<T> ObjectResult<T> Class

Definition

This class represents the result of the Execute(MergeOption) method.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix")]
public class ObjectResult<T> : System.Data.Entity.Core.Objects.ObjectResult, System.Collections.Generic.IEnumerable<T>, System.Data.Entity.Infrastructure.IDbAsyncEnumerable<T>
type ObjectResult<'T> = class
    inherit ObjectResult
    interface seq<'T>
    interface IEnumerable
    interface IDbAsyncEnumerable<'T>
    interface IDbAsyncEnumerable
Public Class ObjectResult(Of T)
Inherits ObjectResult
Implements IDbAsyncEnumerable(Of T), IEnumerable(Of T)

Type Parameters

T

The type of the result.

Inheritance
ObjectResult<T>ObjectResult<T>ObjectResult<T>
Attributes
Implements

Constructors

ObjectResult<T>() ObjectResult<T>() ObjectResult<T>()

This constructor is intended only for use when creating test doubles that will override members with mocked or faked behavior. Use of this constructor for other purposes may result in unexpected behavior including but not limited to throwing NullReferenceException.

Properties

ElementType ElementType ElementType

Gets the type of the ObjectResult<T>.

IListSource.ContainsListCollection IListSource.ContainsListCollection IListSource.ContainsListCollection

IListSource.ContainsListCollection implementation. Always returns false.

(Inherited from ObjectResult)

Methods

Dispose() Dispose() Dispose()

Performs tasks associated with freeing, releasing, or resetting resources.

(Inherited from ObjectResult)
Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

Releases the unmanaged resources used by the ObjectResult<T> and optionally releases the managed resources.

GetEnumerator() GetEnumerator() GetEnumerator()

Returns an enumerator that iterates through the query results.

GetNextResult<TElement>() GetNextResult<TElement>() GetNextResult<TElement>()

Gets the next result set of a stored procedure.

(Inherited from ObjectResult)

Explicit Interface Implementations

IDbAsyncEnumerable.GetAsyncEnumerator() IDbAsyncEnumerable.GetAsyncEnumerator() IDbAsyncEnumerable.GetAsyncEnumerator() Inherited from ObjectResult
IDbAsyncEnumerable<T>.GetAsyncEnumerator() IDbAsyncEnumerable<T>.GetAsyncEnumerator() IDbAsyncEnumerable<T>.GetAsyncEnumerator()
IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

Returns an enumerator that iterates through the query results.

(Inherited from ObjectResult)
IListSource.GetList() IListSource.GetList() IListSource.GetList()

Returns the results in a format useful for data binding.

(Inherited from ObjectResult)

Applies to