Share via


DbExpressionBuilder.Scan(EntitySetBase) Method

Definition

Creates a new DbScanExpression that references the specified entity or relationship set.

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

Parameters

targetSet
EntitySetBase

Metadata for the entity or relationship set to reference.

Returns

A new DbScanExpression based on the specified entity or relationship set.

Exceptions

targetSet is null.

Applies to