80 references to PropagatorFlags
System.Data.Entity (80)
System\Data\Mapping\Update\Internal\ExtractorMetadata.cs (15)
80
PropagatorFlags
flags =
PropagatorFlags
.NoFlags;
85
flags |=
PropagatorFlags
.Key;
93
flags |=
PropagatorFlags
.ForeignKey;
99
flags |=
PropagatorFlags
.ConcurrencyValue;
252
PropagatorFlags
flags = memberInformation.Flags;
253
if (!isModified) { flags |=
PropagatorFlags
.Preserve; }
333
internal readonly
PropagatorFlags
Flags;
342
return
PropagatorFlags
.Key == (Flags &
PropagatorFlags
.Key);
353
return
PropagatorFlags
.ForeignKey == (Flags &
PropagatorFlags
.ForeignKey);
372
internal MemberInformation(int ordinal, int? entityKeyOrdinal,
PropagatorFlags
flags, EdmMember member, bool isServerGenerated, bool isNullConditionMember)
375
(member.DeclaringType.BuiltInTypeKind == BuiltInTypeKind.EntityType && (flags &
PropagatorFlags
.Key) ==
PropagatorFlags
.Key),
System\Data\Mapping\Update\Internal\FunctionMappingTranslator.cs (1)
255
result = PropagatorResult.CreateSimpleValue(
PropagatorFlags
.NoFlags, null);
System\Data\Mapping\Update\Internal\Propagator.Evaluator.cs (21)
176
PropagatorFlags
flags = PropagateUnknownAndPreserveFlags(null, inputs);
308
return PropagatorResult.CreateSimpleValue(
PropagatorFlags
.Preserve, value);
314
return
PropagatorFlags
.Preserve == (result.PropagatorFlags & (
PropagatorFlags
.Preserve |
PropagatorFlags
.Unknown));
370
PropagatorFlags
resultFlags = PropagateUnknownAndPreserveFlags(matchResult, inputs);
428
PropagatorResult result = PropagatorResult.CreateSimpleValue(
PropagatorFlags
.Preserve, node.Value);
459
PropagatorResult result = PropagatorResult.CreateSimpleValue(
PropagatorFlags
.Preserve, null);
582
private static
PropagatorFlags
PropagateUnknownAndPreserveFlags(PropagatorResult result, IEnumerable<PropagatorResult> inputs)
592
PropagatorFlags
inputFlags = input.PropagatorFlags;
593
if (
PropagatorFlags
.NoFlags != (
PropagatorFlags
.Unknown & inputFlags))
597
if (
PropagatorFlags
.NoFlags == (
PropagatorFlags
.Preserve & inputFlags))
607
PropagatorFlags
flags = result.PropagatorFlags;
610
flags |=
PropagatorFlags
.Unknown;
614
flags &= ~
PropagatorFlags
.Preserve;
622
PropagatorFlags
flags =
PropagatorFlags
.NoFlags;
625
flags |=
PropagatorFlags
.Unknown;
629
flags |=
PropagatorFlags
.Preserve;
System\Data\Mapping\Update\Internal\Propagator.ExtentPlaceholderCreator.cs (1)
253
result = PropagatorResult.CreateSimpleValue(
PropagatorFlags
.NoFlags, value);
System\Data\Mapping\Update\Internal\Propagator.JoinPropagator.cs (1)
437
/// the record is flagged as <see cref="
PropagatorFlags
.Unknown" /> except when it is
System\Data\Mapping\Update\Internal\Propagator.JoinPropagator.SubstitutingCloneVisitor.cs (4)
77
PropagatorFlags
flags =
PropagatorFlags
.NoFlags;
78
if (!isNull) { flags |=
PropagatorFlags
.Unknown; } // only null values are known
79
if (preserve) { flags |=
PropagatorFlags
.Preserve; }
System\Data\Mapping\Update\Internal\PropagatorResult.cs (20)
74
internal virtual
PropagatorFlags
PropagatorFlags
76
get { return
PropagatorFlags
.NoFlags; }
181
internal abstract PropagatorResult ReplicateResultWithNewFlags(
PropagatorFlags
flags);
260
internal static PropagatorResult CreateSimpleValue(
PropagatorFlags
flags, object value)
267
internal SimpleValue(
PropagatorFlags
flags, object value)
273
private readonly
PropagatorFlags
m_flags;
276
internal override
PropagatorFlags
PropagatorFlags
301
internal override PropagatorResult ReplicateResultWithNewFlags(
PropagatorFlags
flags)
317
internal static PropagatorResult CreateServerGenSimpleValue(
PropagatorFlags
flags, object value, CurrentValueRecord record, int recordOrdinal)
323
internal ServerGenSimpleValue(
PropagatorFlags
flags, object value, CurrentValueRecord record, int recordOrdinal)
345
internal override PropagatorResult ReplicateResultWithNewFlags(
PropagatorFlags
flags)
356
internal static PropagatorResult CreateKeyValue(
PropagatorFlags
flags, object value, IEntityStateEntry stateEntry, int identifier)
363
internal KeyValue(
PropagatorFlags
flags, object value, IEntityStateEntry stateEntry, int identifier, KeyValue next)
404
internal override PropagatorResult ReplicateResultWithNewFlags(
PropagatorFlags
flags)
461
internal static PropagatorResult CreateServerGenKeyValue(
PropagatorFlags
flags, object value, IEntityStateEntry stateEntry, int identifier, int recordOrdinal)
468
internal ServerGenKeyValue(
PropagatorFlags
flags, object value, IEntityStateEntry stateEntry, int identifier, int recordOrdinal, KeyValue next)
481
internal override PropagatorResult ReplicateResultWithNewFlags(
PropagatorFlags
flags)
553
internal override PropagatorResult ReplicateResultWithNewFlags(
PropagatorFlags
flags)
588
internal override
PropagatorFlags
PropagatorFlags
592
return
PropagatorFlags
.Preserve;
System\Data\Mapping\Update\Internal\UpdateCommand.cs (2)
165
(
PropagatorFlags
.ForeignKey == (property.PropagatorFlags &
PropagatorFlags
.ForeignKey)))
System\Data\Mapping\Update\Internal\UpdateCompiler.cs (15)
198
PropagatorFlags
omitMask = insertMode ?
PropagatorFlags
.NoFlags :
199
PropagatorFlags
.Preserve |
PropagatorFlags
.Unknown;
231
PropagatorFlags
flags =
PropagatorFlags
.NoFlags;
280
if (
PropagatorFlags
.NoFlags != (flags & (omitMask)))
378
(HasFlag(expectedValue,
PropagatorFlags
.ConcurrencyValue) ||
379
HasFlag(newValue,
PropagatorFlags
.ConcurrencyValue)))
386
(HasFlag(expectedValue,
PropagatorFlags
.ConcurrencyValue |
PropagatorFlags
.Key) ||
387
HasFlag(newValue,
PropagatorFlags
.ConcurrencyValue |
PropagatorFlags
.Key))) // tagged as concurrency value
487
private static bool HasFlag(PropagatorResult input,
PropagatorFlags
flags)
490
return (
PropagatorFlags
.NoFlags != (flags & input.PropagatorFlags));