DbUpdateCommandTree Constructor (MetadataWorkspace, DataSpace, DbExpressionBinding, DbExpression, ReadOnlyCollection<DbModificationClause>, DbExpression)

 

Initializes a new instance of the DbUpdateCommandTree class.

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

public DbUpdateCommandTree(
	MetadataWorkspace metadata,
	DataSpace dataSpace,
	DbExpressionBinding target,
	DbExpression predicate,
	ReadOnlyCollection<DbModificationClause> setClauses,
	DbExpression returning
)

Parameters

metadata
Type: System.Data.Entity.Core.Metadata.Edm.MetadataWorkspace

The model this command will operate on.

dataSpace
Type: System.Data.Entity.Core.Metadata.Edm.DataSpace

The data space.

target
Type: System.Data.Entity.Core.Common.CommandTrees.DbExpressionBinding

The target table for the data manipulation language (DML) operation.

predicate
Type: System.Data.Entity.Core.Common.CommandTrees.DbExpression

A predicate used to determine which members of the target collection should be updated.

setClauses
Type: System.Collections.ObjectModel.ReadOnlyCollection<DbModificationClause>

The list of update set clauses that define the update operation.

returning
Type: System.Data.Entity.Core.Common.CommandTrees.DbExpression

A DbExpression that specifies a projection of results to be returned, based on the modified rows.