示例#1
0
 public LambdaQueryBuilder(ILambdaResolver parser, INameResolver nameResolver)
 {
     _parser       = parser;
     _nameResolver = nameResolver;
     _select       = new SelectClause();
     _from         = new FromClause();
     _where        = new PredicateClause();
     _groupBy      = new GroupByClause();
     _having       = new PredicateClause();
     _orderBy      = new OrderByClause();
 }
示例#2
0
 public LambdaClause(ILambdaResolver parser)
 {
     _parser = parser;
 }
示例#3
0
 public static void SetDefaultParser(ILambdaResolver parser)
 {
     _defaultParser = parser;
 }
示例#4
0
 public static LambdaClause Lambda(ILambdaResolver parser)
 {
     return(new LambdaClause(parser));
 }