public static Task <T> FirstAsync <T, TMe>(this IWhereTarget <T, TMe> fluentBuilder, Expression <Func <T, bool> > expression) { return(fluentBuilder.Where(expression).FirstAsync()); }
public static T SingleOrDefault <T, TMe>(this IWhereTarget <T, TMe> fluentBuilder, Expression <Func <T, bool> > expression) { return(fluentBuilder.Where(expression).SingleOrDefault()); }
public static IWhereResult <T, TMe> WhereExists <T, TMe>(this IWhereTarget <T, TMe> fluentBuilder, Action <ISelectResult <T, TMe> > subQuery) { return(fluentBuilder.Where(subQuery, SubQueryType.Exists)); }