Partager via


DbInsertCommandTree Constructeur

Définition

Initialise une nouvelle instance de la classe DbInsertCommandTree.

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

Paramètres

metadata
MetadataWorkspace

Modèle sur lequel cette commande fonctionnera.

dataSpace
DataSpace

Espace de données.

target
DbExpressionBinding

Table cible pour l’opération de langage de manipulation de données (DML).

setClauses
ReadOnlyCollection<DbModificationClause>

Liste des clauses set d'insertion qui définissent l'opération d'insertion. .

returning
DbExpression

DbExpression qui spécifie une projection des résultats à retourner, en fonction des lignes modifiées.

S’applique à