DbExpressionBuilder.Scan Method (EntitySetBase)

 

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

Namespace:   System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder
Assembly:  EntityFramework (in EntityFramework.dll)

public static DbScanExpression Scan(
	this EntitySetBase targetSet
)

Parameters

targetSet
Type: System.Data.Entity.Core.Metadata.Edm.EntitySetBase

Metadata for the entity or relationship set to reference.

Return Value

Type: System.Data.Entity.Core.Common.CommandTrees.DbScanExpression

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

Exception Condition
ArgumentNullException

targetSet is null.