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);
            }
        }