DbUpdateCommandTree Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DbUpdateCommandTree class.
public DbUpdateCommandTree (System.Data.Entity.Core.Metadata.Edm.MetadataWorkspace metadata, System.Data.Entity.Core.Metadata.Edm.DataSpace dataSpace, System.Data.Entity.Core.Common.CommandTrees.DbExpressionBinding target, System.Data.Entity.Core.Common.CommandTrees.DbExpression predicate, System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Entity.Core.Common.CommandTrees.DbModificationClause> setClauses, System.Data.Entity.Core.Common.CommandTrees.DbExpression returning);
new System.Data.Entity.Core.Common.CommandTrees.DbUpdateCommandTree : System.Data.Entity.Core.Metadata.Edm.MetadataWorkspace * System.Data.Entity.Core.Metadata.Edm.DataSpace * System.Data.Entity.Core.Common.CommandTrees.DbExpressionBinding * System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Entity.Core.Common.CommandTrees.DbModificationClause> * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbUpdateCommandTree
Parameters
- metadata
- MetadataWorkspace
The model this command will operate on.
- dataSpace
- DataSpace
The data space.
- target
- DbExpressionBinding
The target table for the data manipulation language (DML) operation.
- predicate
- DbExpression
A predicate used to determine which members of the target collection should be updated.
- setClauses
- ReadOnlyCollection<DbModificationClause>
The list of update set clauses that define the update operation.
- returning
- DbExpression
A DbExpression that specifies a projection of results to be returned, based on the modified rows.
Applies to
Entity Framework