33 references to DbCommandTreeKind
System.Data.Entity (33)
System\Data\Common\CommandTrees\BasicCommandTreeVisitor.cs (5)
56
case
DbCommandTreeKind
.Delete:
60
case
DbCommandTreeKind
.Function:
64
case
DbCommandTreeKind
.Insert:
68
case
DbCommandTreeKind
.Query:
72
case
DbCommandTreeKind
.Update:
System\Data\Common\CommandTrees\DbCommandTree.cs (1)
95
internal abstract
DbCommandTreeKind
CommandTreeKind { get; }
System\Data\Common\CommandTrees\DbDeleteCommandTree.cs (2)
59
internal override
DbCommandTreeKind
CommandTreeKind
61
get { return
DbCommandTreeKind
.Delete; }
System\Data\Common\CommandTrees\DbFunctionCommandTree.cs (2)
90
internal override
DbCommandTreeKind
CommandTreeKind
92
get { return
DbCommandTreeKind
.Function; }
System\Data\Common\CommandTrees\DbInsertCommandTree.cs (2)
73
internal override
DbCommandTreeKind
CommandTreeKind
75
get { return
DbCommandTreeKind
.Insert; }
System\Data\Common\CommandTrees\DbQueryCommandTree.cs (2)
75
internal override
DbCommandTreeKind
CommandTreeKind
77
get { return
DbCommandTreeKind
.Query; }
System\Data\Common\CommandTrees\DbUpdateCommandTree.cs (2)
100
internal override
DbCommandTreeKind
CommandTreeKind
102
get { return
DbCommandTreeKind
.Update; }
System\Data\EntityClient\EntityCommandDefinition.cs (2)
68
if (
DbCommandTreeKind
.Query == commandTree.CommandTreeKind) {
91
Debug.Assert(
DbCommandTreeKind
.Function == commandTree.CommandTreeKind, "only query and function command trees are supported");
System\Data\Mapping\Update\Internal\DynamicUpdateCommand.cs (3)
207
Debug.Assert(originalTree.CommandTreeKind ==
DbCommandTreeKind
.Insert || originalTree.CommandTreeKind ==
DbCommandTreeKind
.Update, "Set clauses specified for a modification tree that is not an update or insert tree?");
208
if (originalTree.CommandTreeKind ==
DbCommandTreeKind
.Insert)
System\Data\SqlClient\SqlGen\DmlSqlGenerator.cs (3)
575
if (_commandTree.CommandTreeKind ==
DbCommandTreeKind
.Delete)
579
else if (_commandTree.CommandTreeKind ==
DbCommandTreeKind
.Insert)
585
Debug.Assert(_commandTree.CommandTreeKind ==
DbCommandTreeKind
.Update, "did you add a new option?");
System\Data\SqlClient\SqlGen\SqlGenerator.cs (5)
417
case
DbCommandTreeKind
.Query:
421
case
DbCommandTreeKind
.Insert:
424
case
DbCommandTreeKind
.Delete:
427
case
DbCommandTreeKind
.Update:
430
case
DbCommandTreeKind
.Function:
System\Data\SqlClient\SqlProviderServices.cs (4)
106
if (commandTree.CommandTreeKind ==
DbCommandTreeKind
.Function) {
140
if (commandTree.CommandTreeKind !=
DbCommandTreeKind
.Delete &&
141
commandTree.CommandTreeKind !=
DbCommandTreeKind
.Insert &&
142
commandTree.CommandTreeKind !=
DbCommandTreeKind
.Update) {