ObjectResult Class
Definition
Represents a class that implements IEnumerable and IDisposable. Instance of this class is returned from ObjectQuery.Execute method.
public ref class ObjectResult abstract : IDisposable, System::Collections::IEnumerable, System::ComponentModel::IListSource
public abstract class ObjectResult : IDisposable, System.Collections.IEnumerable, System.ComponentModel.IListSource
type ObjectResult = class
interface IEnumerable
interface IDisposable
interface IListSource
Public MustInherit Class ObjectResult
Implements IDisposable, IEnumerable, IListSource
- Inheritance
-
ObjectResult
- Derived
- Implements
Properties
ElementType |
When overridden in a derived class, gets the type of the generic ObjectResult<T>. |
Methods
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) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetNextResult<TElement>() |
Gets the next result set of a stored procedure. |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Explicit Interface Implementations
IEnumerable.GetEnumerator() |
Returns an enumerator that iterates through the query results. |
IListSource.ContainsListCollection |
Gets a value that indicates whether the collection returned by the query contains collection objects. |
IListSource.GetList() |
Returns the results in a format useful for data binding. |
Extension Methods
Cast<TResult>(IEnumerable) |
Casts the elements of an IEnumerable to the specified type. |
OfType<TResult>(IEnumerable) |
Filters the elements of an IEnumerable based on a specified type. |
AsParallel(IEnumerable) |
Enables parallelization of a query. |
AsQueryable(IEnumerable) |
Converts an IEnumerable to an IQueryable. |