ObjectResult Class

 

This class implements IEnumerable and IDisposable. Instance of this class is returned from ObjectQuery.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.Design", "CA1010:CollectionsShouldImplementGenericInterface")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix")]
public abstract class ObjectResult : IEnumerable, IDisposable, 
	IListSource, IDbAsyncEnumerable

NameDescription
System_CAPS_protmethodObjectResult()

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

When overridden in a derived class, gets the type of the generic ObjectResult<T> .

NameDescription
System_CAPS_pubmethodDispose()

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

System_CAPS_protmethodDispose(Boolean)

Releases the resources used by the object result.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetNextResult<TElement>()

Gets the next result set of a stored procedure.

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.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIListSource.GetList()

Returns the results in a format useful for data binding.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDbAsyncEnumerable.GetAsyncEnumerator()

Returns an asynchronous enumerator that iterates through the query results.

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