ObjectResult ObjectResult ObjectResult ObjectResult Class


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


ElementType ElementType ElementType ElementType

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


Dispose() Dispose() Dispose() Dispose()

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

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetNextResult<TElement>() GetNextResult<TElement>() GetNextResult<TElement>() GetNextResult<TElement>()

Gets the next result set of a stored procedure.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

Returns an enumerator that iterates through the query results.

IListSource.ContainsListCollection IListSource.ContainsListCollection IListSource.ContainsListCollection IListSource.ContainsListCollection

Gets a value that indicates whether the collection returned by the query contains collection objects.

IListSource.GetList() IListSource.GetList() IListSource.GetList() IListSource.GetList()

Returns the results in a format useful for data binding.

Extension Methods

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to