DbExpressionBuilder.Scan Method (EntitySetBase)

.NET Framework (current version)
 

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

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

public static DbScanExpression Scan(
	this EntitySetBase targetSet
)

Parameters

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

Metadata for the entity or relationship set to reference.

Return Value

Type: System.Data.Common.CommandTrees.DbScanExpression

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

Exception Condition
ArgumentNullException

targetSet is null.

.NET Framework
Available since 4.5
Return to top
Show: