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>
Attributes
Implements

Constructors

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

Gets the type of the ObjectResult<T>.

Methods

Dispose()

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

(Inherited from ObjectResult)
Dispose(Boolean)

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

GetEnumerator()

Returns an enumerator that iterates through the query results.

GetNextResult<TElement>()

Gets the next result set of a stored procedure.

(Inherited from ObjectResult)

Explicit Interface Implementations

IDbAsyncEnumerable.GetAsyncEnumerator()

Gets an enumerator that can be used to asynchronously enumerate the sequence.

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

Gets an enumerator that can be used to asynchronously enumerate the sequence.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through the query results.

(Inherited from ObjectResult)
IListSource.ContainsListCollection

IListSource.ContainsListCollection implementation. Always returns false.

(Inherited from ObjectResult)
IListSource.GetList()

Returns the results in a format useful for data binding.

(Inherited from ObjectResult)

Applies to