Example #1
0
 public static WhereQueryable <TViewModel, TForeignModel> WhereOr <TViewModel, TForeignModel>(this WhereQueryable <TViewModel, TForeignModel> wq, Expression <Func <TViewModel, TForeignModel, bool> > newExpr) where TViewModel : IFoundationViewModel, new() where TForeignModel : IFoundationModel, new()
 {
     return(wq.WhereOr(new WhereQueryable <TViewModel, TForeignModel>(newExpr)));
 }
Example #2
0
 public static WhereQueryable <TViewModel, TForeignModel, TForeignModel1, TForeignModel2, TForeignModel3, TForeignModel4, TForeignModel5> WhereOr <TViewModel, TForeignModel, TForeignModel1, TForeignModel2, TForeignModel3, TForeignModel4, TForeignModel5>(this WhereQueryable <TViewModel, TForeignModel, TForeignModel1, TForeignModel2, TForeignModel3, TForeignModel4, TForeignModel5> wq, Expression <Func <TViewModel, TForeignModel, TForeignModel1, TForeignModel2, TForeignModel3, TForeignModel4, TForeignModel5, bool> > newExpr) where TViewModel : IFoundationViewModel, new() where TForeignModel : IFoundationModel, new() where TForeignModel1 : IFoundationModel, new() where TForeignModel2 : IFoundationModel, new() where TForeignModel3 : IFoundationModel, new() where TForeignModel4 : IFoundationModel, new() where TForeignModel5 : IFoundationModel, new()
 {
     return(wq.WhereOr(new WhereQueryable <TViewModel, TForeignModel, TForeignModel1, TForeignModel2, TForeignModel3, TForeignModel4, TForeignModel5>(newExpr)));
 }