Sdílet prostřednictvím


DbInsertCommandTree Konstruktor

Definice

Inicializuje novou instanci DbInsertCommandTree třídy.

public DbInsertCommandTree(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.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.DbInsertCommandTree : System.Data.Entity.Core.Metadata.Edm.MetadataWorkspace * System.Data.Entity.Core.Metadata.Edm.DataSpace * System.Data.Entity.Core.Common.CommandTrees.DbExpressionBinding * System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Entity.Core.Common.CommandTrees.DbModificationClause> * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbInsertCommandTree

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).

setClauses
ReadOnlyCollection<DbModificationClause>

Seznam klauzulí sady vložení, které definují operaci vložení. .

returning
DbExpression

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

Platí pro