src/Shared/EntityFramework/Core/Mapping/Update/Internal/Propagator.Evaluator.cs
// <summary>
// Evaluates a property expression given the result of evaluating the property's instance.
// </summary>
// <param name="node"> Property expression node. </param>
// <returns> DbExpression resulting from the evaluation of property. </returns>
Evaluates a property expression given the result of evaluating the property's instance.
Evaluates a property expression given the result of evaluating the property ' s instance .
public override PropagatorResult Visit(DbPropertyExpression node)
            {
                Check.NotNull(node, "node");
                var instance = Visit(node.Instance);
                PropagatorResult result;
                if (instance.IsNull)
                {
                    result = PropagatorResult.CreateSimpleValue(instance.PropagatorFlags, null);
                }
                else
                {
                    result = instance.GetMemberValue(node.Property);
                }
                return result;
            }
public override PropagatorResult Visit ( DbPropertyExpression node ) { Check . NotNull ( node , " " ) ; var instance = Visit ( node . Instance ) ; PropagatorResult result ; if ( instance . IsNull ) { result = PropagatorResult . CreateSimpleValue ( instance . PropagatorFlags , null ) ; } else { result = instance . GetMemberValue ( node . Property ) ; } return result ; }
Evaluates a property expression given the result of evaluating the property's instance.
Evaluates a property expression given the result of evaluating the property ' s instance .
// Retrieve the result of evaluating the instance for the property. // find member // We do not markup the result since the property value already contains the necessary context // (determined at record extraction time)
DbExpression resulting from the evaluation of property.
DbExpression resulting from the evaluation of property .
node
DbPropertyExpression
Property expression node.
Property expression node .