Example #1
0
 public SelectQueryFluentBuilder <TModel, bool> Exists()
 {
     return(new SelectQueryFluentBuilder <TModel, bool>(SelectFromBuilder.FromExpression <TModel, int>(x => 1), true, _executor));
 }
Example #2
0
 public SelectQueryFluentBuilder <TModel, TNewModel> Select <TNewModel>(Expression <Func <TModel, TNewModel> > pr)
 {
     return(new SelectQueryFluentBuilder <TModel, TNewModel>(SelectFromBuilder.FromExpression(pr), false, _executor));
 }