|
|
@ -162,6 +162,42 @@ namespace SqlSugar |
|
|
|
base.CreateQueryJoin(joinExpression, types, queryable); |
|
|
|
return queryable; |
|
|
|
} |
|
|
|
|
|
|
|
#region 9-12
|
|
|
|
public virtual ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8,T9> Queryable<T, T2, T3, T4, T5, T6, T7, T8,T9>(Expression<Func<T, T2, T3, T4, T5, T6, T7, T8,T9, object[]>> joinExpression) where T : class, new() |
|
|
|
{ |
|
|
|
InitMppingInfo<T, T2, T3, T4, T5, T6, T8,T9>(); |
|
|
|
var types = new Type[] { typeof(T2), typeof(T3), typeof(T4), typeof(T5), typeof(T6), typeof(T7), typeof(T8),typeof(T9) }; |
|
|
|
var queryable = InstanceFactory.GetQueryable<T, T2, T3, T4, T5, T6, T7, T8,T9>(base.CurrentConnectionConfig); |
|
|
|
base.CreateQueryJoin(joinExpression, types, queryable); |
|
|
|
return queryable; |
|
|
|
} |
|
|
|
public virtual ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9,T10> Queryable<T, T2, T3, T4, T5, T6, T7, T8, T9,T10>(Expression<Func<T, T2, T3, T4, T5, T6, T7, T8, T9,T10, object[]>> joinExpression) where T : class, new() |
|
|
|
{ |
|
|
|
InitMppingInfo<T, T2, T3, T4, T5, T6, T8, T9,T10>(); |
|
|
|
var types = new Type[] { typeof(T2), typeof(T3), typeof(T4), typeof(T5), typeof(T6), typeof(T7), typeof(T8), typeof(T9),typeof(T10) }; |
|
|
|
var queryable = InstanceFactory.GetQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9,T10>(base.CurrentConnectionConfig); |
|
|
|
base.CreateQueryJoin(joinExpression, types, queryable); |
|
|
|
return queryable; |
|
|
|
} |
|
|
|
public virtual ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10,T11> Queryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10,T11>(Expression<Func<T, T2, T3, T4, T5, T6, T7, T8, T9, T10,T11, object[]>> joinExpression) where T : class, new() |
|
|
|
{ |
|
|
|
InitMppingInfo<T, T2, T3, T4, T5, T6, T8, T9, T10,T11>(); |
|
|
|
var types = new Type[] { typeof(T2), typeof(T3), typeof(T4), typeof(T5), typeof(T6), typeof(T7), typeof(T8), typeof(T9), typeof(T10),typeof(T11) }; |
|
|
|
var queryable = InstanceFactory.GetQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10,T11>(base.CurrentConnectionConfig); |
|
|
|
base.CreateQueryJoin(joinExpression, types, queryable); |
|
|
|
return queryable; |
|
|
|
} |
|
|
|
public virtual ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,T12> Queryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,T12>(Expression<Func<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,T12, object[]>> joinExpression) where T : class, new() |
|
|
|
{ |
|
|
|
InitMppingInfo<T, T2, T3, T4, T5, T6, T8, T9, T10, T11,T12>(); |
|
|
|
var types = new Type[] { typeof(T2), typeof(T3), typeof(T4), typeof(T5), typeof(T6), typeof(T7), typeof(T8), typeof(T9), typeof(T10), typeof(T11),typeof(T12) }; |
|
|
|
var queryable = InstanceFactory.GetQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,T12>(base.CurrentConnectionConfig); |
|
|
|
base.CreateQueryJoin(joinExpression, types, queryable); |
|
|
|
return queryable; |
|
|
|
} |
|
|
|
#endregion
|
|
|
|
|
|
|
|
public virtual ISugarQueryable<T, T2> Queryable<T, T2>(Expression<Func<T, T2, bool>> joinExpression) where T : class, new() |
|
|
|
{ |
|
|
|
InitMppingInfo<T, T2>(); |
|
|
|