DbInsertCommandTree Constructor (MetadataWorkspace, DataSpace, DbExpressionBinding, ReadOnlyCollection<DbModificationClause>, DbExpression)
Initializes a new instance of the DbInsertCommandTree class.
Assembly: EntityFramework (in EntityFramework.dll)
public DbInsertCommandTree(
MetadataWorkspace metadata,
DataSpace dataSpace,
DbExpressionBinding target,
ReadOnlyCollection<DbModificationClause> setClauses,
DbExpression returning
)
Parameters
- metadata
-
Type:
System.Data.Entity.Core.Metadata.Edm.MetadataWorkspace
The metadata.
- dataSpace
-
Type:
System.Data.Entity.Core.Metadata.Edm.DataSpace
The data space.
- target
-
Type:
System.Data.Entity.Core.Common.CommandTrees.DbExpressionBinding
The database target.
- setClauses
-
Type:
System.Collections.ObjectModel.ReadOnlyCollection<DbModificationClause>
A set clauses determining values of columns in the inserted row.
- returning
-
Type:
System.Data.Entity.Core.Common.CommandTrees.DbExpression
A DbExpression that specifies a projection of results to be returned based on the modified rows.