DbUpdateCommandTree 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 DbUpdateCommandTree 类的新实例。
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
参数
- metadata
- MetadataWorkspace
此命令将基于的模型。
- dataSpace
- DataSpace
数据空间。
- target
- DbExpressionBinding
数据操作语言的目标表 (DML) 操作。
- predicate
- DbExpression
用于确定应更新目标集合的哪些成员的谓词。
- setClauses
- ReadOnlyCollection<DbModificationClause>
定义更新操作的更新 Set 子句列表。
- returning
- DbExpression
一 DbExpression 个 ,它根据修改的行指定要返回的结果的投影。