src/Shared/EntityFramework/Core/Mapping/Update/Internal/Propagator.Evaluator.cs
// <summary>
// Evaluates a constant expression (trivial: the result is the constant expression)
// </summary>
// <param name="node"> Constant expression node. </param>
// <returns> Constant expression </returns>
Evaluates a constant expression (trivial: the result is the constant expression)
Evaluates a constant expression ( trivial : the result is the constant expression )
public override PropagatorResult Visit(DbConstantExpression node)
            {
                Check.NotNull(node, "node");
                var result = PropagatorResult.CreateSimpleValue(PropagatorFlags.Preserve, node.Value);
                return result;
            }
public override PropagatorResult Visit ( DbConstantExpression node ) { Check . NotNull ( node , " " ) ; var result = PropagatorResult . CreateSimpleValue ( PropagatorFlags . Preserve , node . Value ) ; return result ; }
Evaluates a constant expression (trivial: the result is the constant expression)
Evaluates a constant expression ( trivial : the result is the constant expression )
// Flag the expression as 'preserve', since constants (by definition) cannot vary
None
node
DbConstantExpression
Constant expression node.
Constant expression node .