public static object Execute(this IQueryable source, QueryProjection projection) { if (source == null) { throw new ArgumentNullException(nameof(source)); } if (projection == null) { throw new ArgumentNullException(nameof(projection)); } return(projection.Execute(source)); }
protected bool Equals(QueryProjection other) { return(string.Equals(Name, other.Name)); }