Sdílet prostřednictvím


DbUpdateCommandTree Konstruktor

Definice

Inicializuje novou instanci DbUpdateCommandTree třídy .

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

Parametry

metadata
MetadataWorkspace

Model, se který bude tento příkaz používat.

dataSpace
DataSpace

Datový prostor.

target
DbExpressionBinding

Cílová tabulka pro operaci jazyka DML (Data Manipulation Language).

predicate
DbExpression

Predikát používaný k určení, kteří členové cílové kolekce by se měli aktualizovat.

setClauses
ReadOnlyCollection<DbModificationClause>

Seznam klauzulí sady aktualizací, které definují operaci aktualizace.

returning
DbExpression

A DbExpression , který určuje projekci výsledků, které se mají vrátit, na základě upravených řádků.

Platí pro