Exemple #1
0
        public static long Count <TEntity>(this IQueryOptions <TEntity> queryOptions)
            where TEntity : DatastoreEntity
        {
            var kind = queryOptions.GetKind();

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

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

            return(kind.CountAsync(queryOptions));
        }