public static WhereJoinQueryable <TForeignModel> WhereOr <TForeignModel>(this WhereJoinQueryable <TForeignModel> wq, Expression <Func <TForeignModel, bool> > newExpr) where TForeignModel : IFoundationModel, new()
 {
     return(wq.WhereOr(new WhereJoinQueryable <TForeignModel>(newExpr)));
 }
 public static WhereJoinQueryable <TForeignModel> WhereOr <TForeignModel>(this WhereJoinQueryable <TForeignModel> wq, WhereJoinQueryable <TForeignModel> newWq) where TForeignModel : IFoundationModel, new()
 {
     wq.Expr = wq.Expr.WhereJoinOr(newWq.Expr);
     return(wq);
 }
 public static WhereJoinQueryable <TForeignModel, TForeignModel1, TForeignModel2, TForeignModel3, TForeignModel4, TForeignModel5> WhereOr <TForeignModel, TForeignModel1, TForeignModel2, TForeignModel3, TForeignModel4, TForeignModel5>(this WhereJoinQueryable <TForeignModel, TForeignModel1, TForeignModel2, TForeignModel3, TForeignModel4, TForeignModel5> wq, WhereJoinQueryable <TForeignModel, TForeignModel1, TForeignModel2, TForeignModel3, TForeignModel4, TForeignModel5> newWq) where TForeignModel : IFoundationModel, new() where TForeignModel1 : IFoundationModel, new() where TForeignModel2 : IFoundationModel, new() where TForeignModel3 : IFoundationModel, new() where TForeignModel4 : IFoundationModel, new() where TForeignModel5 : IFoundationModel, new()
 {
     wq.Expr = wq.Expr.WhereOr(newWq.Expr);
     return(wq);
 }
 public static WhereJoinQueryable <TForeignModel, TForeignModel1, TForeignModel2, TForeignModel3, TForeignModel4, TForeignModel5> WhereOr <TForeignModel, TForeignModel1, TForeignModel2, TForeignModel3, TForeignModel4, TForeignModel5>(this WhereJoinQueryable <TForeignModel, TForeignModel1, TForeignModel2, TForeignModel3, TForeignModel4, TForeignModel5> wq, Expression <Func <TForeignModel, TForeignModel1, TForeignModel2, TForeignModel3, TForeignModel4, TForeignModel5, bool> > newExpr) 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 WhereJoinQueryable <TForeignModel, TForeignModel1, TForeignModel2, TForeignModel3, TForeignModel4, TForeignModel5>(newExpr)));
 }
 public static WhereJoinQueryable <TForeignModel, TForeignModel1, TForeignModel2, TForeignModel3> WhereAnd <TForeignModel, TForeignModel1, TForeignModel2, TForeignModel3>(this WhereJoinQueryable <TForeignModel, TForeignModel1, TForeignModel2, TForeignModel3> wq, WhereJoinQueryable <TForeignModel, TForeignModel1, TForeignModel2, TForeignModel3> newWq) where TForeignModel : IFoundationModel, new() where TForeignModel1 : IFoundationModel, new() where TForeignModel2 : IFoundationModel, new() where TForeignModel3 : IFoundationModel, new()
 {
     wq.Expr = wq.Expr.WhereAnd(newWq.Expr);
     return(wq);
 }
 public static WhereJoinQueryable <TForeignModel, TForeignModel1, TForeignModel2> WhereAnd <TForeignModel, TForeignModel1, TForeignModel2>(this WhereJoinQueryable <TForeignModel, TForeignModel1, TForeignModel2> wq, Expression <Func <TForeignModel, TForeignModel1, TForeignModel2, bool> > newExpr) where TForeignModel : IFoundationModel, new() where TForeignModel1 : IFoundationModel, new() where TForeignModel2 : IFoundationModel, new()
 {
     return(wq.WhereAnd(new WhereJoinQueryable <TForeignModel, TForeignModel1, TForeignModel2>(newExpr)));
 }