Esempio n. 1
0
 public LambdaQueryHelper <T> CrossJoin <TEntity>(Expression <Func <T, TEntity, bool> > lambdaWhere) where TEntity : class
 {
     return(Join(DapperExtension.DapperImplementor.SqlGenerator.Configuration.GetMap <TEntity>().TableName, ExpressionToClip <T> .ToJoinWhere(lambdaWhere), JoinType.CrossJoin));
 }
Esempio n. 2
0
 public LambdaQueryHelper <T> FullJoin <T1, T2>(Expression <Func <T1, T2, bool> > lambdaWhere)
     where T1 : class
     where T2 : class
 {
     return(Join(DapperExtension.DapperImplementor.SqlGenerator.Configuration.GetMap <T2>().TableName, ExpressionToClip <T1> .ToJoinWhere(lambdaWhere), JoinType.FullJoin));
 }
Esempio n. 3
0
 public void AddOrderBy(Expression <Func <T, object> > lambdaOrderBy)
 {
     base.AddOrderBy(ExpressionToClip <T> .ToOrderByClip(lambdaOrderBy));
 }
Esempio n. 4
0
 public LambdaQueryHelper <T> GroupBy(Expression <Func <T, object> > lambdaGroupBy)
 {
     return((LambdaQueryHelper <T>)base.GroupBy(ExpressionToClip <T> .ToGroupByClip(lambdaGroupBy)));
 }
Esempio n. 5
0
 public void AddSelect <T2, T3, T4, T5, T6>(Expression <Func <T, T2, T3, T4, T5, T6, object> > lambdaSelect)
 {
     base.AddSelect(ExpressionToClip <T> .ToSelect(lambdaSelect));
 }
Esempio n. 6
0
        /// <summary>
        /// Or
        /// </summary>
        public void Or(Expression <Func <T, bool> > lambdaWhere)
        {
            var tempWhere = ExpressionToClip <T> .ToWhereClip(lambdaWhere);

            Or(tempWhere);
        }
Esempio n. 7
0
 public LambdaQueryHelper <T> Having(Expression <Func <T, bool> > lambdaHaving)
 {
     return((LambdaQueryHelper <T>)base.Having(ExpressionToClip <T> .ToWhereClip(lambdaHaving)));
 }
Esempio n. 8
0
 public void AddSelect <T2, T3, T4>(Expression <Func <T, T2, T3, T4, bool> > lambdaSelect)
 {
     base.AddSelect(ExpressionToClip <T> .ToSelect(lambdaSelect));
 }
Esempio n. 9
0
 public LambdaQueryHelper <T> AddSelect(Expression <Func <T, object> > lambdaSelect)
 {
     return((LambdaQueryHelper <T>)base.AddSelect(ExpressionToClip <T> .ToSelect(lambdaSelect)));
 }
Esempio n. 10
0
 /// <summary>
 ///
 /// </summary>
 public LambdaQueryHelper <T> Where <T2, T3, T4, T5, T6>(Expression <Func <T, T2, T3, T4, T5, T6, bool> > lambdaWhere)
 {
     return((LambdaQueryHelper <T>)Where(ExpressionToClip <T> .ToWhereClip(lambdaWhere)));
 }
Esempio n. 11
0
 public LambdaQueryHelper <T> AddSelect <T2, T3, T4, T5, T6>(Expression <Func <T, T2, T3, T4, T5, T6, bool> > lambdaSelect)
 {
     return((LambdaQueryHelper <T>)base.AddSelect(ExpressionToClip <T> .ToSelect(lambdaSelect)));
 }
Esempio n. 12
0
 public void AddOrderByDescending <T2, T3, T4, T5, T6>(Expression <Func <T, T2, T3, T4, T5, T6, object> > lambdaOrderBy)
 {
     base.AddOrderByDescending(ExpressionToClip <T> .ToOrderByClip(lambdaOrderBy, OrderByType.DESC));
 }
Esempio n. 13
0
 public void AddOrderBy <T2, T3, T4, T5, T6>(Expression <Func <T, T2, T3, T4, T5, T6, object> > lambdaOrderBy)
 {
     base.AddOrderBy(ExpressionToClip <T> .ToOrderByClip(lambdaOrderBy));
 }
Esempio n. 14
0
 public LambdaQueryHelper <T> Select <T2>(Expression <Func <T, T2, bool> > lambdaSelect)
 {
     return((LambdaQueryHelper <T>)base.Select(ExpressionToClip <T> .ToSelect(lambdaSelect)));
 }
Esempio n. 15
0
 public LambdaQueryHelper <T> OrderBy <T2, T3>(Expression <Func <T, T2, T3, object> > lambdaOrderBy)
 {
     return((LambdaQueryHelper <T>)OrderBy(ExpressionToClip <T> .ToOrderByClip(lambdaOrderBy)));
 }
Esempio n. 16
0
 public LambdaQueryHelper <T> Select <T2, T3, T4, T5>(Expression <Func <T, T2, T3, T4, T5, object> > lambdaSelect)
 {
     return((LambdaQueryHelper <T>)base.Select(ExpressionToClip <T> .ToSelect(lambdaSelect)));
 }
Esempio n. 17
0
 public LambdaQueryHelper <T> OrderByDescending <T2>(Expression <Func <T, T2, object> > lambdaOrderBy)
 {
     return((LambdaQueryHelper <T>)OrderBy(ExpressionToClip <T> .ToOrderByClip(lambdaOrderBy, OrderByType.DESC)));
 }
Esempio n. 18
0
 public void AddSelect(Expression <Func <T, object> > lambdaSelect)
 {
     base.AddSelect(ExpressionToClip <T> .ToSelect(lambdaSelect));
 }
Esempio n. 19
0
 public LambdaQueryHelper <T> AddOrderBy <T2, T3, T4, T5>(Expression <Func <T, T2, T3, T4, T5, object> > lambdaOrderBy)
 {
     return((LambdaQueryHelper <T>)base.AddOrderBy(ExpressionToClip <T> .ToOrderByClip(lambdaOrderBy)));
 }
Esempio n. 20
0
        public void And <T2, T3, T4, T5>(Expression <Func <T, T2, T3, T4, T5, bool> > lambdaWhere)
        {
            var tempWhere = ExpressionToClip <T> .ToWhereClip(lambdaWhere);

            And(tempWhere);
        }
Esempio n. 21
0
 public LambdaQueryHelper <T> AddOrderByDescending <T2, T3, T4, T5, T6>(Expression <Func <T, T2, T3, T4, T5, T6, object> > lambdaOrderBy)
 {
     return((LambdaQueryHelper <T>)base.AddOrderBy(ExpressionToClip <T> .ToOrderByClip(lambdaOrderBy, OrderByType.DESC)));
 }
Esempio n. 22
0
        public void Or <T2, T3, T4, T5, T6>(Expression <Func <T, T2, T3, T4, T5, T6, bool> > lambdaWhere)
        {
            var tempWhere = ExpressionToClip <T> .ToWhereClip(lambdaWhere);

            Or(tempWhere);
        }
 /// <summary>
 ///
 /// </summary>
 public LambdaDeleteHelper <T> Where(Expression <Func <T, bool> > lambdaWhere)
 {
     return((LambdaDeleteHelper <T>)Where(ExpressionToClip <T> .ToWhereClip(lambdaWhere)));
 }