Пример #1
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));
 }
Пример #2
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));
 }