public int Delete <T>(List <string> keys) where T : class { return(AsyncHelper.RunSync(() => DeleteAsync <T>(keys))); }
public int DeleteSql(IQueryable source) { return(AsyncHelper.RunSync(() => DeleteSqlAsync(source))); }
public long?Sum(Expression <Func <T, long?> > selector) { return(AsyncHelper.RunSync(() => SumAsync(selector))); }
public bool Any(Expression <Func <T, bool> > predicate) { return(AsyncHelper.RunSync(() => AnyAsync(predicate))); }
public double Sum(Expression <Func <T, double> > selector) { return(AsyncHelper.RunSync(() => SumAsync(selector))); }
public int Sum(Expression <Func <T, int> > selector) { return(AsyncHelper.RunSync(() => SumAsync(selector))); }
public decimal?Average(Expression <Func <T, decimal?> > selector) { return(AsyncHelper.RunSync(() => AverageAsync(selector))); }
public decimal?Sum(Expression <Func <T, decimal?> > selector) { return(AsyncHelper.RunSync(() => SumAsync(selector))); }
public float?Average(Expression <Func <T, float?> > selector) { return(AsyncHelper.RunSync(() => AverageAsync(selector))); }
public double Average(Expression <Func <T, double> > selector) { return(AsyncHelper.RunSync(() => AverageAsync(selector))); }
public TResult Min <TResult>(Expression <Func <T, TResult> > selector) { return(AsyncHelper.RunSync(() => MinAsync(selector))); }
public T FirstOrDefault() { return(AsyncHelper.RunSync(() => FirstOrDefaultAsync())); }
public List <T> ToList() { return(AsyncHelper.RunSync(() => ToListAsync())); }
public int Count() { return(AsyncHelper.RunSync(() => CountAsync())); }
public List <TResult> Distinct <TResult>(Expression <Func <T, TResult> > selector) { return(AsyncHelper.RunSync(() => DistinctAsync(selector))); }