2 types derived from PropagatorResult
System.Data.Entity (2)
System\Data\Mapping\Update\Internal\PropagatorResult.cs (2)
265
private class SimpleValue :
PropagatorResult
513
private class StructuralValue :
PropagatorResult
335 references to PropagatorResult
System.Data.Entity (335)
System\Data\Mapping\Update\Internal\ChangeNode.cs (9)
25
/// within a row are associated with a <see cref="
PropagatorResult
" /> through the <see cref=
52
private List<
PropagatorResult
> m_inserted = new List<
PropagatorResult
>();
53
private List<
PropagatorResult
> m_deleted = new List<
PropagatorResult
>();
54
private
PropagatorResult
m_placeholder;
67
internal List<
PropagatorResult
> Inserted { get { return m_inserted; } }
72
internal List<
PropagatorResult
> Deleted { get { return m_deleted; } }
78
internal
PropagatorResult
Placeholder
System\Data\Mapping\Update\Internal\CompositeKey.cs (12)
26
internal readonly
PropagatorResult
[] KeyComponents;
34
internal CompositeKey(
PropagatorResult
[] constants)
59
PropagatorResult
[] mergedKeyValues = new
PropagatorResult
[this.KeyComponents.Length];
97
PropagatorResult
leftValue = left.KeyComponents[i];
98
PropagatorResult
rightValue = right.KeyComponents[i];
103
if (leftValue.Identifier !=
PropagatorResult
.NullIdentifier)
105
if (rightValue.Identifier ==
PropagatorResult
.NullIdentifier ||
113
if (rightValue.Identifier !=
PropagatorResult
.NullIdentifier ||
130
foreach (
PropagatorResult
keyComponent in key.KeyComponents)
139
private int GetComponentHashCode(
PropagatorResult
keyComponent)
141
if (keyComponent.Identifier ==
PropagatorResult
.NullIdentifier)
System\Data\Mapping\Update\Internal\DynamicUpdateCommand.cs (10)
34
PropagatorResult
originalValues,
PropagatorResult
currentValues, DbModificationCommandTree tree,
49
foreach (KeyValuePair<EdmMember,
PropagatorResult
> member in
56
if (
PropagatorResult
.NullIdentifier != identifier &&
97
internal override long Execute(UpdateTranslator translator, EntityConnection connection, Dictionary<int, object> identifierValues, List<KeyValuePair<
PropagatorResult
, object>> generatedValues)
141
PropagatorResult
result = this.CurrentValues.GetMemberValue(columnOrdinal);
144
generatedValues.Add(new KeyValuePair<
PropagatorResult
, object>(result, value));
148
if (
PropagatorResult
.NullIdentifier != identifier)
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\ExtractedStateEntry.cs (2)
24
internal readonly
PropagatorResult
Original;
25
internal readonly
PropagatorResult
Current;
System\Data\Mapping\Update\Internal\ExtractorMetadata.cs (19)
120
/// Populates a new <see cref="
PropagatorResult
"/> object representing a member of a record matching the
133
internal
PropagatorResult
RetrieveMember(IEntityStateEntry stateEntry, IExtendedDataRecord record, bool useCurrentValues,
154
identifier =
PropagatorResult
.NullIdentifier;
198
private
PropagatorResult
CreateEntityKeyResult(IEntityStateEntry stateEntry, EntityKey entityKey)
206
PropagatorResult
[] keyValues = new
PropagatorResult
[keyMemberCount];
234
keyValues[ordinal] =
PropagatorResult
.CreateKeyValue(
243
return
PropagatorResult
.CreateStructuralValue(keyValues, keyMetadata.m_type, false);
246
private
PropagatorResult
CreateSimpleResult(IEntityStateEntry stateEntry, IExtendedDataRecord record, MemberInformation memberInformation,
254
if (
PropagatorResult
.NullIdentifier != identifier)
257
PropagatorResult
result;
260
result =
PropagatorResult
.CreateServerGenKeyValue(flags, value, stateEntry, identifier, recordOrdinal);
264
result =
PropagatorResult
.CreateKeyValue(flags, value, stateEntry, identifier);
280
return
PropagatorResult
.CreateServerGenSimpleValue(flags, value, updatableRecord, recordOrdinal);
284
return
PropagatorResult
.CreateSimpleValue(flags, value);
300
internal static
PropagatorResult
ExtractResultFromRecord(IEntityStateEntry stateEntry, bool isModified, IExtendedDataRecord record,
307
PropagatorResult
[] nestedValues = new
PropagatorResult
[record.FieldCount];
314
return
PropagatorResult
.CreateStructuralValue(nestedValues, structuralType, isModified);
System\Data\Mapping\Update\Internal\FunctionMappingTranslator.cs (8)
128
PropagatorResult
result = stateEntry.Current.GetMemberValue(resultBinding.Property);
232
PropagatorResult
result;
255
result =
PropagatorResult
.CreateSimpleValue(PropagatorFlags.NoFlags, null);
261
PropagatorResult
relationshipResult = parameterBinding.IsCurrent ?
264
PropagatorResult
endResult = relationshipResult.GetMemberValue(endMember);
321
PropagatorResult
recordResult;
342
PropagatorResult
endResult = recordResult.GetMemberValue(endMember);
343
PropagatorResult
keyResult = endResult.GetMemberValue(keyProperty);
System\Data\Mapping\Update\Internal\FunctionUpdateCommand.cs (12)
65
private List<KeyValuePair<string,
PropagatorResult
>> m_resultColumns;
132
internal void SetParameterValue(
PropagatorResult
result, StorageModificationFunctionParameterBinding parameterBinding, UpdateTranslator translator)
143
if (
PropagatorResult
.NullIdentifier != identifier)
171
internal void AddResultColumn(UpdateTranslator translator, String columnName,
PropagatorResult
result)
176
m_resultColumns = new List<KeyValuePair<string,
PropagatorResult
>>(initializeSize);
178
m_resultColumns.Add(new KeyValuePair<string,
PropagatorResult
>(columnName, result));
181
if (
PropagatorResult
.NullIdentifier != identifier)
210
List<KeyValuePair<
PropagatorResult
, object>> generatedValues)
251
.Select(r => new KeyValuePair<int,
PropagatorResult
>(GetColumnOrdinal(translator, reader, r.Key), r.Value))
268
PropagatorResult
result = resultColumn.Value;
269
generatedValues.Add(new KeyValuePair<
PropagatorResult
, object>(result, value));
273
if (
PropagatorResult
.NullIdentifier != identifier)
System\Data\Mapping\Update\Internal\KeyManager.cs (8)
85
internal void RegisterIdentifierOwner(
PropagatorResult
owner)
87
Debug.Assert(
PropagatorResult
.NullIdentifier != owner.Identifier, "invalid operation for a " +
96
internal bool TryGetIdentifierOwner(int identifier, out
PropagatorResult
owner)
157
internal object GetPrincipalValue(
PropagatorResult
result)
161
if (
PropagatorResult
.NullIdentifier == currentIdentifier)
172
PropagatorResult
ownerResult = _identifiers[principal].Owner;
380
PropagatorResult
owner = _identifiers[identifierInCycle].Owner;
519
internal
PropagatorResult
Owner;
System\Data\Mapping\Update\Internal\Propagator.cs (8)
224
foreach(
PropagatorResult
row in input.Inserted)
230
foreach(
PropagatorResult
row in input.Deleted)
250
private
PropagatorResult
Project(DbProjectExpression node,
PropagatorResult
row, TypeUsage resultType)
264
PropagatorResult
[] projectedValues = new
PropagatorResult
[projection.Arguments.Count];
273
PropagatorResult
projectedRow =
PropagatorResult
.CreateStructuralValue(projectedValues, (StructuralType)resultType.EdmType, false);
System\Data\Mapping\Update\Internal\Propagator.Evaluator.cs (62)
54
private class Evaluator : UpdateExpressionVisitor<
PropagatorResult
>
62
private Evaluator(
PropagatorResult
row, Propagator parent)
73
private
PropagatorResult
m_row;
93
internal static IEnumerable<
PropagatorResult
> Filter(DbExpression predicate, IEnumerable<
PropagatorResult
> rows, Propagator parent)
95
foreach (
PropagatorResult
row in rows)
114
internal static bool EvaluatePredicate(DbExpression predicate,
PropagatorResult
row, Propagator parent)
117
PropagatorResult
expressionResult = predicate.Accept(evaluator);
132
static internal
PropagatorResult
Evaluate(DbExpression node,
PropagatorResult
row, Propagator parent)
134
DbExpressionVisitor<
PropagatorResult
> evaluator = new Evaluator(row, parent);
144
private static bool? ConvertResultToBool(
PropagatorResult
result)
165
private static
PropagatorResult
ConvertBoolToResult(bool? booleanValue, params
PropagatorResult
[] inputs)
177
return
PropagatorResult
.CreateSimpleValue(flags, result);
186
public override
PropagatorResult
Visit(DbIsOfExpression predicate)
195
PropagatorResult
childResult = Visit(predicate.Argument);
215
public override
PropagatorResult
Visit(DbComparisonExpression predicate)
222
PropagatorResult
leftResult = Visit(predicate.Left);
223
PropagatorResult
rightResult = Visit(predicate.Right);
254
public override
PropagatorResult
Visit(DbAndExpression predicate)
258
PropagatorResult
left = Visit(predicate.Left);
259
PropagatorResult
right = Visit(predicate.Right);
282
public override
PropagatorResult
Visit(DbOrExpression predicate)
286
PropagatorResult
left = Visit(predicate.Left);
287
PropagatorResult
right = Visit(predicate.Right);
305
private static
PropagatorResult
CreatePerservedAndKnownResult(object value)
308
return
PropagatorResult
.CreateSimpleValue(PropagatorFlags.Preserve, value);
311
private static bool PreservedAndKnown(
PropagatorResult
result)
322
public override
PropagatorResult
Visit(DbNotExpression predicate)
326
PropagatorResult
child = Visit(predicate.Argument);
339
public override
PropagatorResult
Visit(DbCaseExpression node)
346
List<
PropagatorResult
> inputs = new List<
PropagatorResult
>();
350
PropagatorResult
whenResult = Visit(when);
364
PropagatorResult
matchResult;
371
PropagatorResult
result = matchResult.ReplicateResultWithNewFlags(resultFlags);
383
public override
PropagatorResult
Visit(DbVariableReferenceExpression node)
395
public override
PropagatorResult
Visit(DbPropertyExpression node)
400
PropagatorResult
instance = Visit(node.Instance);
401
PropagatorResult
result;
405
result =
PropagatorResult
.CreateSimpleValue(instance.PropagatorFlags, null);
423
public override
PropagatorResult
Visit(DbConstantExpression node)
428
PropagatorResult
result =
PropagatorResult
.CreateSimpleValue(PropagatorFlags.Preserve, node.Value);
438
public override
PropagatorResult
Visit(DbRefKeyExpression node)
443
PropagatorResult
argument = Visit(node.Argument);
454
public override
PropagatorResult
Visit(DbNullExpression node)
459
PropagatorResult
result =
PropagatorResult
.CreateSimpleValue(PropagatorFlags.Preserve, null);
469
public override
PropagatorResult
Visit(DbTreatExpression node)
473
PropagatorResult
childResult = Visit(node.Argument);
486
PropagatorResult
result =
PropagatorResult
.CreateSimpleValue(childResult.PropagatorFlags, null);
495
public override
PropagatorResult
Visit(DbCastExpression node)
499
PropagatorResult
childResult = Visit(node.Argument);
526
PropagatorResult
result = childResult.ReplicateResultWithNewValue(resultValue);
563
public override
PropagatorResult
Visit(DbIsNullExpression node)
567
PropagatorResult
argumentResult = Visit(node.Argument);
582
private static PropagatorFlags PropagateUnknownAndPreserveFlags(
PropagatorResult
result, IEnumerable<
PropagatorResult
> inputs)
589
foreach (
PropagatorResult
input in inputs)
System\Data\Mapping\Update\Internal\Propagator.ExtentPlaceholderCreator.cs (25)
112
internal static
PropagatorResult
CreatePlaceholder(EntitySetBase extent, UpdateTranslator parent)
139
private
PropagatorResult
CreateEntitySetPlaceholder(EntitySet entitySet)
143
PropagatorResult
[] memberValues = new
PropagatorResult
[members.Count];
147
PropagatorResult
memberValue = CreateMemberPlaceholder(members[ordinal]);
151
PropagatorResult
result =
PropagatorResult
.CreateStructuralValue(memberValues, entitySet.ElementType, false);
161
private
PropagatorResult
CreateAssociationSetPlaceholder(AssociationSet associationSet)
166
PropagatorResult
[] endReferenceValues = new
PropagatorResult
[endMetadata.Count];
175
PropagatorResult
[] keyValues = new
PropagatorResult
[entityType.KeyMembers.Count];
179
PropagatorResult
keyValue = CreateMemberPlaceholder(keyMember);
184
PropagatorResult
refKeys =
PropagatorResult
.CreateStructuralValue(keyValues, endType, false);
189
PropagatorResult
result =
PropagatorResult
.CreateStructuralValue(endReferenceValues, associationSet.ElementType, false);
198
private
PropagatorResult
CreateMemberPlaceholder(EdmMember member)
211
internal
PropagatorResult
Visit(EdmMember node)
213
PropagatorResult
result;
226
PropagatorResult
[] args = new
PropagatorResult
[members.Count];
233
result =
PropagatorResult
.CreateStructuralValue(args, structuralType, false);
240
private static void GetPropagatorResultForPrimitiveType(PrimitiveType primitiveType, out
PropagatorResult
result)
253
result =
PropagatorResult
.CreateSimpleValue(PropagatorFlags.NoFlags, value);
System\Data\Mapping\Update\Internal\Propagator.JoinPropagator.cs (26)
23
using JoinDictionary = Dictionary<CompositeKey, Tuple<CompositeKey,
PropagatorResult
>>;
291
Tuple<CompositeKey,
PropagatorResult
> leftInsert = null;
292
Tuple<CompositeKey,
PropagatorResult
> leftDelete = null;
293
Tuple<CompositeKey,
PropagatorResult
> rightInsert = null;
294
Tuple<CompositeKey,
PropagatorResult
> rightDelete = null;
317
Action<Tuple<CompositeKey,
PropagatorResult
>> addStateEntries = (r) =>
392
private
PropagatorResult
CreateResultTuple(Tuple<CompositeKey,
PropagatorResult
> left, Tuple<CompositeKey,
PropagatorResult
> right, ChangeNode result)
397
Dictionary<
PropagatorResult
,
PropagatorResult
> map = null;
407
map = new Dictionary<
PropagatorResult
,
PropagatorResult
>();
415
PropagatorResult
[] joinRecordValues = new
PropagatorResult
[2];
418
PropagatorResult
join =
PropagatorResult
.CreateStructuralValue(joinRecordValues, (StructuralType)result.ElementType.EdmType, false);
423
PropagatorResult
replacement;
439
private
PropagatorResult
LeftPlaceholder(CompositeKey key, PopulateMode mode)
450
private
PropagatorResult
RightPlaceholder(CompositeKey key, PopulateMode mode)
463
private JoinDictionary ProcessKeys(IEnumerable<
PropagatorResult
> instances, ReadOnlyCollection<DbExpression> keySelectors)
470
foreach (
PropagatorResult
instance in instances)
480
private static CompositeKey ExtractKey(
PropagatorResult
change, ReadOnlyCollection<DbExpression> keySelectors, Propagator parent)
483
PropagatorResult
[] keyValues = new
PropagatorResult
[keySelectors.Count];
486
PropagatorResult
constant = Evaluator.Evaluate(keySelectors[i], change, parent);
System\Data\Mapping\Update\Internal\Propagator.JoinPropagator.SubstitutingCloneVisitor.cs (4)
66
internal static
PropagatorResult
Populate(
PropagatorResult
placeholder, CompositeKey key,
81
PropagatorResult
result = placeholder.Replace(node =>
104
return
PropagatorResult
.CreateSimpleValue(flags, value);
System\Data\Mapping\Update\Internal\PropagatorResult.cs (51)
128
internal virtual
PropagatorResult
Next
151
internal virtual
PropagatorResult
GetMemberValue(int ordinal)
161
internal
PropagatorResult
GetMemberValue(EdmMember member)
171
internal virtual
PropagatorResult
[] GetMemberValues()
181
internal abstract
PropagatorResult
ReplicateResultWithNewFlags(PropagatorFlags flags);
188
internal virtual
PropagatorResult
ReplicateResultWithNewValue(object value)
198
internal abstract
PropagatorResult
Replace(Func<
PropagatorResult
,
PropagatorResult
> map);
211
internal virtual
PropagatorResult
Merge(KeyManager keyManager,
PropagatorResult
other)
260
internal static
PropagatorResult
CreateSimpleValue(PropagatorFlags flags, object value)
301
internal override
PropagatorResult
ReplicateResultWithNewFlags(PropagatorFlags flags)
306
internal override
PropagatorResult
ReplicateResultWithNewValue(object value)
311
internal override
PropagatorResult
Replace(Func<
PropagatorResult
,
PropagatorResult
> map)
317
internal static
PropagatorResult
CreateServerGenSimpleValue(PropagatorFlags flags, object value, CurrentValueRecord record, int recordOrdinal)
345
internal override
PropagatorResult
ReplicateResultWithNewFlags(PropagatorFlags flags)
350
internal override
PropagatorResult
ReplicateResultWithNewValue(object value)
356
internal static
PropagatorResult
CreateKeyValue(PropagatorFlags flags, object value, IEntityStateEntry stateEntry, int identifier)
396
internal override
PropagatorResult
Next
404
internal override
PropagatorResult
ReplicateResultWithNewFlags(PropagatorFlags flags)
409
internal override
PropagatorResult
ReplicateResultWithNewValue(object value)
424
internal override
PropagatorResult
Merge(KeyManager keyManager,
PropagatorResult
other)
461
internal static
PropagatorResult
CreateServerGenKeyValue(PropagatorFlags flags, object value, IEntityStateEntry stateEntry, int identifier, int recordOrdinal)
481
internal override
PropagatorResult
ReplicateResultWithNewFlags(PropagatorFlags flags)
486
internal override
PropagatorResult
ReplicateResultWithNewValue(object value)
502
internal static
PropagatorResult
CreateStructuralValue(
PropagatorResult
[] values, StructuralType structuralType, bool isModified)
515
internal StructuralValue(
PropagatorResult
[] values, StructuralType structuralType)
525
private readonly
PropagatorResult
[] m_values;
543
internal override
PropagatorResult
GetMemberValue(int ordinal)
548
internal override
PropagatorResult
[] GetMemberValues()
553
internal override
PropagatorResult
ReplicateResultWithNewFlags(PropagatorFlags flags)
558
internal override
PropagatorResult
Replace(Func<
PropagatorResult
,
PropagatorResult
> map)
560
PropagatorResult
[] newValues = ReplaceValues(map);
564
protected
PropagatorResult
[] ReplaceValues(Func<
PropagatorResult
,
PropagatorResult
> map)
566
PropagatorResult
[] newValues = new
PropagatorResult
[m_values.Length];
570
PropagatorResult
newValue = m_values[i].Replace(map);
583
internal UnmodifiedStructuralValue(
PropagatorResult
[] values, StructuralType structuralType)
596
internal override
PropagatorResult
Replace(Func<
PropagatorResult
,
PropagatorResult
> map)
598
PropagatorResult
[] newValues = ReplaceValues(map);
System\Data\Mapping\Update\Internal\RecordConverter.cs (3)
54
internal
PropagatorResult
ConvertOriginalValuesToPropagatorResult(IEntityStateEntry stateEntry, ModifiedPropertiesBehavior modifiedPropertiesBehavior)
69
internal
PropagatorResult
ConvertCurrentValuesToPropagatorResult(IEntityStateEntry stateEntry, ModifiedPropertiesBehavior modifiedPropertiesBehavior)
74
private
PropagatorResult
ConvertStateEntryToPropagatorResult(IEntityStateEntry stateEntry, bool useCurrentValues, ModifiedPropertiesBehavior modifiedPropertiesBehavior)
System\Data\Mapping\Update\Internal\SourceInterpreter.cs (6)
42
internal static ReadOnlyCollection<IEntityStateEntry> GetAllStateEntries(
PropagatorResult
source, UpdateTranslator translator,
55
private void RetrieveResultMarkup(
PropagatorResult
source)
59
if (source.Identifier !=
PropagatorResult
.NullIdentifier)
68
if (source.Identifier !=
PropagatorResult
.NullIdentifier)
72
PropagatorResult
owner;
96
foreach (
PropagatorResult
child in source.GetMemberValues())
System\Data\Mapping\Update\Internal\TableChangeProcessor.cs (20)
110
Dictionary<CompositeKey,
PropagatorResult
> deleteResults = ProcessKeys(compiler, changeNode.Deleted, keys);
111
Dictionary<CompositeKey,
PropagatorResult
> insertResults = ProcessKeys(compiler, changeNode.Inserted, keys);
118
PropagatorResult
deleteResult;
119
PropagatorResult
insertResult;
179
private Dictionary<CompositeKey,
PropagatorResult
> ProcessKeys(UpdateCompiler compiler, List<
PropagatorResult
> changes, Set<CompositeKey> keys)
181
Dictionary<CompositeKey,
PropagatorResult
> map = new Dictionary<CompositeKey,
PropagatorResult
>(
184
foreach (
PropagatorResult
change in changes)
187
PropagatorResult
row = change;
192
PropagatorResult
other;
206
private void DiagnoseKeyCollision(UpdateCompiler compiler,
PropagatorResult
change, CompositeKey key,
PropagatorResult
other)
235
foreach (
PropagatorResult
keyValue in key.KeyComponents.Concat(otherKey.KeyComponents))
240
PropagatorResult
dependentResult;
266
private
PropagatorResult
[] GetKeyConstants(
PropagatorResult
row)
268
PropagatorResult
[] keyConstants = new
PropagatorResult
[m_keyOrdinals.Length];
271
PropagatorResult
constant = row.GetMemberValue(m_keyOrdinals[i]);
System\Data\Mapping\Update\Internal\UpdateCommand.cs (11)
35
protected UpdateCommand(
PropagatorResult
originalValues,
PropagatorResult
currentValues)
41
private readonly
PropagatorResult
m_originalValues;
42
private readonly
PropagatorResult
m_currentValues;
82
internal
PropagatorResult
OriginalValues { get { return m_originalValues; } }
87
internal
PropagatorResult
CurrentValues { get { return m_currentValues; } }
160
private void AddReferencedEntities(UpdateTranslator translator,
PropagatorResult
result, KeyToListMap<EntityKey, UpdateCommand> referencedEntities)
162
foreach (
PropagatorResult
property in result.GetMemberValues())
164
if (property.IsSimple && property.Identifier !=
PropagatorResult
.NullIdentifier &&
169
PropagatorResult
owner;
191
List<KeyValuePair<
PropagatorResult
, object>> generatedValues);
System\Data\Mapping\Update\Internal\UpdateCommandOrderer.cs (5)
390
private ForeignKeyValue(ReferentialConstraint metadata,
PropagatorResult
record,
398
PropagatorResult
[] keyValues = new
PropagatorResult
[keyProperties.Count];
432
internal static bool TryCreateTargetKey(ReferentialConstraint metadata,
PropagatorResult
record, bool isInsert, out ForeignKeyValue key)
450
internal static bool TryCreateSourceKey(ReferentialConstraint metadata,
PropagatorResult
record, bool isInsert, out ForeignKeyValue key)
System\Data\Mapping\Update\Internal\UpdateCompiler.cs (23)
55
internal UpdateCommand BuildDeleteCommand(
PropagatorResult
oldRow, TableChangeProcessor processor)
81
internal UpdateCommand BuildUpdateCommand(
PropagatorResult
oldRow,
82
PropagatorResult
newRow, TableChangeProcessor processor)
142
internal UpdateCommand BuildInsertCommand(
PropagatorResult
newRow, TableChangeProcessor processor)
189
private IEnumerable<DbModificationClause> BuildSetClauses(DbExpressionBinding target,
PropagatorResult
row,
190
PropagatorResult
originalRow, TableChangeProcessor processor, bool insertMode, out Dictionary<int, string> outputIdentifiers, out DbExpression returning,
193
Dictionary<EdmProperty,
PropagatorResult
> setClauses = new Dictionary<EdmProperty,
PropagatorResult
>();
206
PropagatorResult
propertyResult = row.GetMemberValue(propertyOrdinal);
208
if (
PropagatorResult
.NullIdentifier != propertyResult.Identifier)
256
if (
PropagatorResult
.NullIdentifier != identifier)
301
PropagatorResult
originalPropertyResult = originalRow.GetMemberValue(propertyOrdinal);
333
foreach (KeyValuePair<EdmProperty,
PropagatorResult
> setClause in setClauses)
362
private DbExpression BuildPredicate(DbExpressionBinding target,
PropagatorResult
referenceRow,
PropagatorResult
current,
365
Dictionary<EdmProperty,
PropagatorResult
> whereClauses = new Dictionary<EdmProperty,
PropagatorResult
>();
372
PropagatorResult
expectedValue = referenceRow.GetMemberValue(propertyOrdinal);
373
PropagatorResult
newValue = null == current ? null : current.GetMemberValue(propertyOrdinal);
396
foreach (KeyValuePair<EdmProperty,
PropagatorResult
> clause in whereClauses)
411
private DbExpression GenerateEqualityExpression(DbExpressionBinding target, EdmProperty property,
PropagatorResult
value)
435
private DbExpression GenerateValueExpression(EdmProperty property,
PropagatorResult
value)
487
private static bool HasFlag(
PropagatorResult
input, PropagatorFlags flags)
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (11)
386
List<KeyValuePair<
PropagatorResult
, object>> generatedValues = new List<KeyValuePair<
PropagatorResult
, object>>();
470
private void BackPropagateServerGen(List<KeyValuePair<
PropagatorResult
, object>> generatedValues)
472
foreach (KeyValuePair<
PropagatorResult
, object> generatedValue in generatedValues)
474
PropagatorResult
context;
477
if (
PropagatorResult
.NullIdentifier == generatedValue.Key.Identifier ||
485
if (context.Identifier ==
PropagatorResult
.NullIdentifier)
503
private void SetServerGenValue(
PropagatorResult
context, object value)
505
if (context.RecordOrdinal !=
PropagatorResult
.NullOrdinal)
526
private object AlignReturnValue(object value, EdmMember member,
PropagatorResult
context)
912
var
result = m_recordConverter.ConvertCurrentValuesToPropagatorResult(valueEntry, ModifiedPropertiesBehavior.NoneModified);