Ejemplo n.º 1
0
        public static async Task <long> QueryAsync <TModel>(QueryCount <TModel> query) where TModel : class, new()
        {
            var provider = Resolver.Get <ITransactStoreProvider <TModel> >();

            return((long)(await provider.QueryAsync(query)));
        }
Ejemplo n.º 2
0
        public static long Query <TModel>(QueryCount <TModel> query) where TModel : class, new()
        {
            var provider = Resolver.Get <ITransactStoreProvider <TModel> >();

            return((long)(provider.Query(query)));
        }