ObjectResult<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This class represents the result of the Execute(MergeOption) method.
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix")]
public class ObjectResult<T> : System.Data.Entity.Core.Objects.ObjectResult, System.Collections.Generic.IEnumerable<T>, System.Data.Entity.Infrastructure.IDbAsyncEnumerable<T>
type ObjectResult<'T> = class
inherit ObjectResult
interface seq<'T>
interface IEnumerable
interface IDbAsyncEnumerable<'T>
interface IDbAsyncEnumerable
Public Class ObjectResult(Of T)
Inherits ObjectResult
Implements IDbAsyncEnumerable(Of T), IEnumerable(Of T)
Type Parameters
- T
The type of the result.
- Inheritance
- Attributes
- Implements
Constructors
ObjectResult<T>() |
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. |
Properties
ElementType |
Gets the type of the ObjectResult<T>. |
Methods
Dispose() |
Performs tasks associated with freeing, releasing, or resetting resources. (Inherited from ObjectResult) |
Dispose(Boolean) |
Releases the unmanaged resources used by the ObjectResult<T> and optionally releases the managed resources. |
GetEnumerator() |
Returns an enumerator that iterates through the query results. |
GetNextResult<TElement>() |
Gets the next result set of a stored procedure. (Inherited from ObjectResult) |
Explicit Interface Implementations
IDbAsyncEnumerable.GetAsyncEnumerator() |
Gets an enumerator that can be used to asynchronously enumerate the sequence. (Inherited from ObjectResult) |
IDbAsyncEnumerable<T>.GetAsyncEnumerator() |
Gets an enumerator that can be used to asynchronously enumerate the sequence. |
IEnumerable.GetEnumerator() |
Returns an enumerator that iterates through the query results. (Inherited from ObjectResult) |
IListSource.ContainsListCollection |
IListSource.ContainsListCollection implementation. Always returns false. (Inherited from ObjectResult) |
IListSource.GetList() |
Returns the results in a format useful for data binding. (Inherited from ObjectResult) |
Applies to
Entity Framework