DbInsertCommandTree Class
Represents a single row insert operation expressed as a canonical command tree. When the Returning property is set, the command returns a reader; otherwise, it returns a scalar value indicating the number of rows affected.
Assembly: EntityFramework (in EntityFramework.dll)
System.Data.Entity.Core.Common.CommandTrees.DbCommandTree
System.Data.Entity.Core.Common.CommandTrees.DbModificationCommandTree
System.Data.Entity.Core.Common.CommandTrees.DbInsertCommandTree
Name | Description | |
---|---|---|
![]() | DbInsertCommandTree(MetadataWorkspace, DataSpace, DbExpressionBinding, ReadOnlyCollection<DbModificationClause>, DbExpression) | Initializes a new instance of the DbInsertCommandTree class. |
Name | Description | |
---|---|---|
![]() | CommandTreeKind | Gets the command tree kind.(Overrides DbCommandTree.CommandTreeKind.) |
![]() | DataSpace | Gets the data space in which metadata used by this command tree must reside.(Inherited from DbCommandTree.) |
![]() | MetadataWorkspace | Gets the metadata workspace used by this command tree.(Inherited from DbCommandTree.) |
![]() | Parameters | Gets the name and corresponding type of each parameter that can be referenced within this command tree.(Inherited from DbCommandTree.) |
![]() | Returning | Gets a DbExpression that specifies a projection of results to be returned based on the modified rows. If null, indicates no results should be returned from this command. |
![]() | SetClauses | Gets set clauses determining values of columns in the inserted row. |
![]() | Target | Gets the DbExpressionBinding that specifies the target table for the DML operation. (Inherited from DbModificationCommandTree.) |
![]() | UseDatabaseNullSemantics | Gets whether the command tree uses the null semantics for the database.(Inherited from DbCommandTree.) |
Name | Description | |
---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | ToString() | Returns a string representation of the DbCommandTree.(Inherited from DbCommandTree.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.