private bool Equals(ProjectionMember other)
        {
            if (_memberChain.Count != other._memberChain.Count)
            {
                return(false);
            }

            for (var i = 0; i < _memberChain.Count; i++)
            {
                if (!Equals(_memberChain[i], other._memberChain[i]))
                {
                    return(false);
                }
            }

            return(true);
        }
 public ProjectionBindingExpression(Expression queryExpression, ProjectionMember projectionMember, Type type)
 {
     QueryExpression  = queryExpression;
     ProjectionMember = projectionMember;
     Type             = type;
 }
Пример #3
0
 public ProjectionBindingExpression(ProjectionMember projectionMember, Type type)
 {
     ProjectionMember = projectionMember;
     Type             = type;
 }