DbExpressionBuilder.Scan(EntitySetBase) 方法

定义

创建一个新的 DbScanExpression,它引用指定的实体集或关系集。

public static System.Data.Entity.Core.Common.CommandTrees.DbScanExpression Scan (this System.Data.Entity.Core.Metadata.Edm.EntitySetBase targetSet);
static member Scan : System.Data.Entity.Core.Metadata.Edm.EntitySetBase -> System.Data.Entity.Core.Common.CommandTrees.DbScanExpression
<Extension()>
Public Function Scan (targetSet As EntitySetBase) As DbScanExpression

参数

targetSet
EntitySetBase

要引用的实体集或关系集的元数据。

返回

基于指定的实体或关系集的新 DbScanExpression。

例外

targetSet 为 null。

适用于