public static long Count <TEntity>(this IQueryOptions <TEntity> queryOptions) where TEntity : DatastoreEntity { var kind = queryOptions.GetKind(); return(kind.Count(queryOptions)); }
public static Task <IEnumerable <TEntity> > FindAsync <TEntity>(this IQueryOptions <TEntity> queryOptions) where TEntity : DatastoreEntity { var kind = queryOptions.GetKind(); return(kind.FindAsync(queryOptions)); }
public static Task <long> CountAsync <TEntity>(this IQueryOptions <TEntity> queryOptions) where TEntity : DatastoreEntity { var kind = queryOptions.GetKind(); return(kind.CountAsync(queryOptions)); }