ObjectResult Class
This class implements IEnumerable and IDisposable. Instance of this class is returned from ObjectQuery.Execute method.
Assembly: EntityFramework (in EntityFramework.dll)
System.Data.Entity.Core.Objects.ObjectResult
System.Data.Entity.Core.Objects.ObjectResult<T>
Name | Description | |
---|---|---|
![]() | ObjectResult() | 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. |
Name | Description | |
---|---|---|
![]() | ElementType | When overridden in a derived class, gets the type of the generic ObjectResult<T> . |
Name | Description | |
---|---|---|
![]() | Dispose() | Performs tasks associated with freeing, releasing, or resetting resources. |
![]() | Dispose(Boolean) | Releases the resources used by the object result. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetNextResult<TElement>() | Gets the next result set of a stored procedure. |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() ![]() | IEnumerable.GetEnumerator() | Returns an enumerator that iterates through the query results. |
![]() ![]() | IListSource.GetList() | Returns the results in a format useful for data binding. |
![]() ![]() | IDbAsyncEnumerable.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.