public static string Convert <T1, T2, T3, T4, T5>(Expression <Func <T1, T2, T3, T4, T5, bool> > expression, DynamicParameters parameters, string t1Relation, string t2Relation, string t3Relation, string t4Relation, string t5Relation) { var ptsc = new PredicateToSqlCondition(expression, parameters, new[] { t1Relation, t2Relation, t3Relation, t4Relation, t5Relation }); return(ptsc.Sql); }
public static string Convert <T>(Expression <Predicate <T> > expression, DynamicParameters parameters, string t1Relation) { var ptsc = new PredicateToSqlCondition(expression, parameters, new[] { t1Relation }); return(ptsc.Sql); }