Пример #1
0
 public virtual List <T> Find(FilterModel filterModel)
 {
     return(Find(filterModel.GetSearchExpression <T>()));
 }
Пример #2
0
 public virtual List <T> Find(FilterModel filterModel, Expression <Func <T, object> > orderExpression, SortOrder sortOrder)
 {
     return(Find(filterModel.GetSearchExpression <T>(), orderExpression, sortOrder));
 }
Пример #3
0
 public Task <IAsyncCursor <T> > FindDocumentAsync(FilterModel filterModel)
 {
     return(FindDocumentAsync(filterModel.GetSearchExpression <T>()));
 }
Пример #4
0
 public virtual IQueryable <T> WhereAsync(FilterModel filterModel)
 {
     return(Where(filterModel.GetSearchExpression <T>()));
 }
Пример #5
0
 public virtual bool Existed(FilterModel filterModel)
 {
     return(Existed(filterModel.GetSearchExpression <T>()));
 }
Пример #6
0
 public virtual int Count(FilterModel filterModel)
 {
     return(Count(filterModel.GetSearchExpression <T>()));
 }
Пример #7
0
 public T FirstOrDefaultFromSubordinate(FilterModel filterModel)
 {
     return(FirstOrDefaultFromSubordinate(filterModel.GetSearchExpression <T>()));
 }
Пример #8
0
 public virtual T FirstOrDefault(FilterModel filterModel)
 {
     return(FirstOrDefault(filterModel.GetSearchExpression <T>()));
 }
Пример #9
0
 public async Task <List <T> > FindFromSubordinateAsync(FilterModel filterModel)
 {
     return(await FindFromSubordinateAsync(filterModel.GetSearchExpression <T>()));
 }
Пример #10
0
 public async Task <List <T> > FindFromSubordinateAsync(FilterModel filterModel, Expression <Func <T, object> > orderExpression)
 {
     return(await FindFromSubordinateAsync(filterModel.GetSearchExpression <T>(), orderExpression));
 }
Пример #11
0
 public List <T> FindFromSubordinate(FilterModel filterModel, Expression <Func <T, object> > orderExpression, SortOrder sortOrder)
 {
     return(FindFromSubordinate(filterModel.GetSearchExpression <T>(), orderExpression, sortOrder));
 }
Пример #12
0
 public List <T> FindFromSubordinate(FilterModel filterModel)
 {
     return(FindFromSubordinate(filterModel.GetSearchExpression <T>()));
 }
Пример #13
0
 public async Task <int> CountFromSubordinateAsync(FilterModel filterModel)
 {
     return(await CountFromSubordinateAsync(filterModel.GetSearchExpression <T>()));
 }
Пример #14
0
 public virtual async Task <List <T> > FindAsync(FilterModel filterModel)
 {
     return(await FindAsync(filterModel.GetSearchExpression <T>()));
 }
Пример #15
0
 public async Task <T> FirstOrDefaultFromSubordinateAsync(FilterModel filterModel)
 {
     return(await FirstOrDefaultFromSubordinateAsync(filterModel.GetSearchExpression <T>()));
 }
Пример #16
0
 public virtual async Task <List <T> > FindAsync(FilterModel filterModel, Expression <Func <T, object> > orderExpression, SortOrder sortOrder)
 {
     return(await FindAsync(filterModel.GetSearchExpression <T>(), orderExpression, sortOrder));
 }
Пример #17
0
 public bool ExistedFromSubordinate(FilterModel filterModel)
 {
     return(ExistedFromSubordinate(filterModel.GetSearchExpression <T>()));
 }
Пример #18
0
 public virtual async Task <T> FirstOrDefaultAsync(FilterModel filterModel)
 {
     return(await FirstOrDefaultAsync(filterModel.GetSearchExpression <T>()));
 }
Пример #19
0
 public async Task <bool> ExistedFromSubordinateAsync(FilterModel filterModel)
 {
     return(await ExistedFromSubordinateAsync(filterModel.GetSearchExpression <T>()));
 }
Пример #20
0
 public virtual async Task <bool> ExistedAsync(FilterModel filterModel)
 {
     return(await ExistedAsync(filterModel.GetSearchExpression <T>()));
 }
Пример #21
0
 public int CountFromSubordinate(FilterModel filterModel)
 {
     return(CountFromSubordinate(filterModel.GetSearchExpression <T>()));
 }
Пример #22
0
 public virtual async Task <int> CountAsync(FilterModel filterModel)
 {
     return(await CountAsync(filterModel.GetSearchExpression <T>()));
 }
Пример #23
0
 public IFindFluent <T, T> FindDocument(FilterModel filterModel)
 {
     return(FindDocument(filterModel.GetSearchExpression <T>()));
 }