System.Data.Entity.Core.Objects.ELinq.ExpressionConverter.ApplySpanMapping C# (CSharp) Метод

ApplySpanMapping() приватный Метод

Removes the Span mapping entry for the specified from expression, and creates a new entry for the specified to expression that maps to the from expression's original Span information. If no Span information is present for the specified from expression then no changes are made to the Span mapping dictionary.
private ApplySpanMapping ( DbExpression from, DbExpression to ) : void
from DbExpression The expression from which to take Span information
to DbExpression The expression to which the Span information should be applied
Результат void
        private void ApplySpanMapping(DbExpression from, DbExpression to)
        {
            Span argumentSpan;
            if (TryGetSpan(from, out argumentSpan))
            {
                AddSpanMapping(to, argumentSpan);
            }
        }