ObjectResult<T> Class

 

This class represents the result of the Execute method.

Namespace:   System.Data.Entity.Core.Objects
Assembly:  EntityFramework (in EntityFramework.dll)

System.Object
  System.Data.Entity.Core.Objects.ObjectResult
    System.Data.Entity.Core.Objects.ObjectResult<T>

[SuppressMessageAttribute("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix")]
public class ObjectResult<T> : ObjectResult, IEnumerable<T>, 
	IEnumerable, IDbAsyncEnumerable<T>, IDbAsyncEnumerable

Type Parameters

T

The type of the result.

NameDescription
System_CAPS_protmethodObjectResult<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.

NameDescription
System_CAPS_pubpropertyElementType

Gets the type of the ObjectResult<T>.(Overrides ObjectResult.ElementType.)

NameDescription
System_CAPS_pubmethodDispose()

Performs tasks associated with freeing, releasing, or resetting resources.(Inherited from ObjectResult.)

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the ObjectResult<T> and optionally releases the managed resources.(Overrides ObjectResult.Dispose(Boolean).)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Returns an enumerator that iterates through the query results.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetNextResult<TElement>()

Gets the next result set of a stored procedure.(Inherited from ObjectResult.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.GetEnumerator()

Returns an enumerator that iterates through the query results.(Inherited from ObjectResult.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIListSource.GetList()

Returns the results in a format useful for data binding.(Inherited from ObjectResult.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDbAsyncEnumerable.GetAsyncEnumerator()

Returns an asynchronous enumerator that iterates through the query results.(Inherited from ObjectResult.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDbAsyncEnumerable<T>.GetAsyncEnumerator()

Asynchronously gets the enumerator that iterates through ObjectResult<T>.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.