32 references to ModificationOperator
System.Data.Entity (32)
System\Data\Mapping\Update\Internal\DynamicUpdateCommand.cs (11)
26
private readonly
ModificationOperator
m_operator;
33
internal DynamicUpdateCommand(TableChangeProcessor processor, UpdateTranslator translator,
ModificationOperator
op,
44
if (
ModificationOperator
.Insert == op ||
ModificationOperator
.Update == op)
70
private static bool TryGetSetterExpression(DbModificationCommandTree tree, EdmMember member,
ModificationOperator
op, out DbSetClause setter)
72
Debug.Assert(op ==
ModificationOperator
.Insert || op ==
ModificationOperator
.Update, "only inserts and updates have setters");
74
if (
ModificationOperator
.Insert == op)
245
internal
ModificationOperator
Operator { get { return m_operator; } }
324
PropagatorResult thisResult = (this.Operator ==
ModificationOperator
.Delete ? this.OriginalValues : this.CurrentValues);
325
PropagatorResult otherResult = (other.Operator ==
ModificationOperator
.Delete ? other.OriginalValues : other.CurrentValues);
System\Data\Mapping\Update\Internal\FunctionUpdateCommand.cs (5)
339
private static
ModificationOperator
GetModificationOperator(EntityState state)
347
return
ModificationOperator
.Update;
350
return
ModificationOperator
.Insert;
353
return
ModificationOperator
.Delete;
357
return default(
ModificationOperator
);
System\Data\Mapping\Update\Internal\UpdateCommand.cs (1)
206
/// - The kind of operator (insert, update, delete). See <see cref="
ModificationOperator
"/> for details of the ordering.
System\Data\Mapping\Update\Internal\UpdateCommandOrderer.cs (12)
197
if (
ModificationOperator
.Update == command.Operator ||
198
ModificationOperator
.Insert == command.Operator)
209
if (
ModificationOperator
.Update != command.Operator ||
228
if (
ModificationOperator
.Update == command.Operator ||
229
ModificationOperator
.Delete == command.Operator)
240
if (
ModificationOperator
.Update != command.Operator ||
279
if (
ModificationOperator
.Update == command.Operator ||
280
ModificationOperator
.Insert == command.Operator)
291
if (
ModificationOperator
.Update != command.Operator ||
302
if (
ModificationOperator
.Update == command.Operator ||
303
ModificationOperator
.Delete == command.Operator)
314
if (
ModificationOperator
.Update != command.Operator ||
System\Data\Mapping\Update\Internal\UpdateCompiler.cs (3)
69
UpdateCommand command = new DynamicUpdateCommand(processor, m_translator,
ModificationOperator
.Delete, oldRow, null, commandTree, null);
131
UpdateCommand command = new DynamicUpdateCommand(processor, m_translator,
ModificationOperator
.Update, oldRow, newRow, commandTree, outputIdentifiers);
163
UpdateCommand command = new DynamicUpdateCommand(processor, m_translator,
ModificationOperator
.Insert, null, newRow, commandTree, outputIdentifiers);