System.Data.Entity.Core.Objects.ELinq.ExpressionConverter.TryGetSpan C# (CSharp) Method

TryGetSpan() private method

Attempts to retrieve Span information for the specified DbExpression.
private TryGetSpan ( DbExpression expression, Span &span ) : bool
expression DbExpression The expression for which Span information should be retrieved.
span Span Will contain the Span information for the specified expression if it is present in the Span mapping dictionary.
return bool
        private bool TryGetSpan(DbExpression expression, out Span span)
        {
            if (_spanMappings != null)
            {
                return _spanMappings.TryGetValue(expression, out span);
            }

            span = null;
            return false;
        }