ObjectResult<T> 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
此类表示 方法的结果 Execute(MergeOption) 。
[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)
类型参数
- T
结果的类型。
- 继承
- 属性
- 实现
构造函数
ObjectResult<T>() |
此构造函数仅用于创建将替代具有模拟或虚假行为的成员的测试双精度值时。 将此构造函数用于其他目的可能会导致意外行为,包括但不限于引发 NullReferenceException。 |
属性
ElementType |
获取 ObjectResult<T> 的类型。 |
方法
Dispose() |
执行与释放 (free)、释放 (release) 或重置资源关联的任务。 (继承自 ObjectResult) |
Dispose(Boolean) |
释放由 ObjectResult<T> 占用的非托管资源,还可以另外再释放托管资源。 |
GetEnumerator() |
返回一个循环访问查询结果的枚举器。 |
GetNextResult<TElement>() |
获取已存储过程的下一个结果集。 (继承自 ObjectResult) |
显式接口实现
IDbAsyncEnumerable.GetAsyncEnumerator() |
获取可用于异步枚举序列的枚举器。 (继承自 ObjectResult) |
IDbAsyncEnumerable<T>.GetAsyncEnumerator() |
获取可用于异步枚举序列的枚举器。 |
IEnumerable.GetEnumerator() |
返回一个循环访问查询结果的枚举器。 (继承自 ObjectResult) |
IListSource.ContainsListCollection |
IListSource.ContainsListCollection 实现。 始终返回 false。 (继承自 ObjectResult) |
IListSource.GetList() |
以数据绑定所用的格式返回结果。 (继承自 ObjectResult) |