Share via


DbInsertCommandTree Constructor

Definition

Initializes a new instance of the DbInsertCommandTree class.

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

Parameters

metadata
MetadataWorkspace

The model this command will operate on.

dataSpace
DataSpace

The data space.

target
DbExpressionBinding

The target table for the data manipulation language (DML) operation.

setClauses
ReadOnlyCollection<DbModificationClause>

The list of insert set clauses that define the insert operation. .

returning
DbExpression

A DbExpression that specifies a projection of results to be returned, based on the modified rows.

Applies to