语言

DbUpdateCommandTree 构造函数

定义

初始化 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>

定义更新操作的更新集子句的列表。

returning
DbExpression

一 DbExpression 个,根据修改后的行指定要返回的结果的投影。

适用于