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));
        }
Ejemplo n.º 2
0
 protected bool Equals(QueryProjection other)
 {
     return(string.Equals(Name, other.Name));
 }