ObjectResult Class
Represents a class that implements IEnumerable and IDisposable. Instance of this class is returned from ObjectQuery.Execute method.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
| 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. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetNextResult<TElement>() | Gets the next result set of a stored procedure. |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(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. |
![]() ![]() | IListSource::ContainsListCollection | Gets a value that indicates whether the collection returned by the query contains collection objects. |
| Name | Description | |
|---|---|---|
![]() | AsParallel() | Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.) |
![]() | AsQueryable() | Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.) |
![]() | Cast<TResult>() | Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.) |
![]() | OfType<TResult>() | Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.) |
No content here will be updated; please do not add material here.
Available since 3.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.





