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