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.

Namespace:   System.Data.Entity.Core.Common.CommandTrees
Assembly:  EntityFramework (in EntityFramework.dll)


public sealed class DbInsertCommandTree : DbModificationCommandTree

NameDescription
System_CAPS_pubpropertyCommandTreeKind

Gets the command tree kind.(Overrides DbCommandTree.CommandTreeKind.)

System_CAPS_pubpropertyDataSpace

Gets the data space in which metadata used by this command tree must reside.(Inherited from DbCommandTree.)

System_CAPS_pubpropertyMetadataWorkspace

Gets the metadata workspace used by this command tree.(Inherited from DbCommandTree.)

System_CAPS_pubpropertyParameters

Gets the name and corresponding type of each parameter that can be referenced within this command tree.(Inherited from DbCommandTree.)

System_CAPS_pubpropertyReturning

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.

System_CAPS_pubpropertySetClauses

Gets set clauses determining values of columns in the inserted row.

System_CAPS_pubpropertyTarget

Gets the DbExpressionBinding that specifies the target table for the DML operation. (Inherited from DbModificationCommandTree.)

System_CAPS_pubpropertyUseDatabaseNullSemantics

Gets whether the command tree uses the null semantics for the database.(Inherited from DbCommandTree.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

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.