mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-05 05:07:57 +08:00
Add T11
This commit is contained in:
parent
fe60db1d24
commit
d40df5a37f
@ -2520,4 +2520,329 @@ namespace SqlSugar
|
|||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
#region T11
|
||||||
|
public partial class QueryableProvider<T, T2, T3, T4, T5, T6, T7, T8, T9, T10,T11> : QueryableProvider<T>, ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
|
||||||
|
{
|
||||||
|
#region Where
|
||||||
|
public new ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Where(Expression<Func<T, bool>> expression)
|
||||||
|
{
|
||||||
|
_Where(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Where(Expression<Func<T, T2, bool>> expression)
|
||||||
|
{
|
||||||
|
_Where(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Where(Expression<Func<T, T2, T3, bool>> expression)
|
||||||
|
{
|
||||||
|
_Where(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Where(Expression<Func<T, T2, T3, T4, bool>> expression)
|
||||||
|
{
|
||||||
|
_Where(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Where(Expression<Func<T, T2, T3, T4, T5, bool>> expression)
|
||||||
|
{
|
||||||
|
_Where(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Where(Expression<Func<T, T2, T3, T4, T5, T6, bool>> expression)
|
||||||
|
{
|
||||||
|
_Where(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Where(Expression<Func<T, T2, T3, T4, T5, T6, T7, bool>> expression)
|
||||||
|
{
|
||||||
|
_Where(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Where(Expression<Func<T, T2, T3, T4, T5, T6, T7, T8, bool>> expression)
|
||||||
|
{
|
||||||
|
_Where(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Where(Expression<Func<T, T2, T3, T4, T5, T6, T7, T8, T9, bool>> expression)
|
||||||
|
{
|
||||||
|
_Where(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Where(Expression<Func<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, bool>> expression)
|
||||||
|
{
|
||||||
|
_Where(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Where(Expression<Func<T, T2, T3, T4, T5, T6, T7, T8, T9, T10,T11, bool>> expression)
|
||||||
|
{
|
||||||
|
_Where(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public new ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> WhereIF(bool isWhere, Expression<Func<T, bool>> expression)
|
||||||
|
{
|
||||||
|
if (isWhere)
|
||||||
|
_Where(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> WhereIF(bool isWhere, Expression<Func<T, T2, bool>> expression)
|
||||||
|
{
|
||||||
|
if (isWhere)
|
||||||
|
_Where(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> WhereIF(bool isWhere, Expression<Func<T, T2, T3, bool>> expression)
|
||||||
|
{
|
||||||
|
if (isWhere)
|
||||||
|
_Where(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> WhereIF(bool isWhere, Expression<Func<T, T2, T3, T4, bool>> expression)
|
||||||
|
{
|
||||||
|
if (isWhere)
|
||||||
|
_Where(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> WhereIF(bool isWhere, Expression<Func<T, T2, T3, T4, T5, bool>> expression)
|
||||||
|
{
|
||||||
|
if (isWhere)
|
||||||
|
_Where(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> WhereIF(bool isWhere, Expression<Func<T, T2, T3, T4, T5, T6, bool>> expression)
|
||||||
|
{
|
||||||
|
if (isWhere)
|
||||||
|
_Where(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> WhereIF(bool isWhere, Expression<Func<T, T2, T3, T4, T5, T6, T7, bool>> expression)
|
||||||
|
{
|
||||||
|
if (isWhere)
|
||||||
|
_Where(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> WhereIF(bool isWhere, Expression<Func<T, T2, T3, T4, T5, T6, T7, T8, bool>> expression)
|
||||||
|
{
|
||||||
|
if (isWhere)
|
||||||
|
_Where(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> WhereIF(bool isWhere, Expression<Func<T, T2, T3, T4, T5, T6, T7, T8, T9, bool>> expression)
|
||||||
|
{
|
||||||
|
if (isWhere)
|
||||||
|
_Where(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> WhereIF(bool isWhere, Expression<Func<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, bool>> expression)
|
||||||
|
{
|
||||||
|
if (isWhere)
|
||||||
|
_Where(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> WhereIF(bool isWhere, Expression<Func<T, T2, T3, T4, T5, T6, T7, T8, T9, T10,T11, bool>> expression)
|
||||||
|
{
|
||||||
|
if (isWhere)
|
||||||
|
_Where(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public new ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Where(string whereString, object whereObj)
|
||||||
|
{
|
||||||
|
Where<T>(whereString, whereObj);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public new ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> WhereIF(bool isWhere, string whereString, object whereObj)
|
||||||
|
{
|
||||||
|
if (!isWhere) return this;
|
||||||
|
this.Where<T>(whereString, whereObj);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region Select
|
||||||
|
public ISugarQueryable<TResult> Select<TResult>(Expression<Func<T, T2, TResult>> expression)
|
||||||
|
{
|
||||||
|
return _Select<TResult>(expression);
|
||||||
|
}
|
||||||
|
public ISugarQueryable<TResult> Select<TResult>(Expression<Func<T, T2, T3, TResult>> expression)
|
||||||
|
{
|
||||||
|
return _Select<TResult>(expression);
|
||||||
|
}
|
||||||
|
public ISugarQueryable<TResult> Select<TResult>(Expression<Func<T, T2, T3, T4, TResult>> expression)
|
||||||
|
{
|
||||||
|
return _Select<TResult>(expression);
|
||||||
|
}
|
||||||
|
public ISugarQueryable<TResult> Select<TResult>(Expression<Func<T, T2, T3, T4, T5, TResult>> expression)
|
||||||
|
{
|
||||||
|
return _Select<TResult>(expression);
|
||||||
|
}
|
||||||
|
public ISugarQueryable<TResult> Select<TResult>(Expression<Func<T, T2, T3, T4, T5, T6, TResult>> expression)
|
||||||
|
{
|
||||||
|
return _Select<TResult>(expression);
|
||||||
|
}
|
||||||
|
public ISugarQueryable<TResult> Select<TResult>(Expression<Func<T, T2, T3, T4, T5, T6, T7, TResult>> expression)
|
||||||
|
{
|
||||||
|
return _Select<TResult>(expression);
|
||||||
|
}
|
||||||
|
public ISugarQueryable<TResult> Select<TResult>(Expression<Func<T, T2, T3, T4, T5, T6, T7, T8, TResult>> expression)
|
||||||
|
{
|
||||||
|
return _Select<TResult>(expression);
|
||||||
|
}
|
||||||
|
public ISugarQueryable<TResult> Select<TResult>(Expression<Func<T, T2, T3, T4, T5, T6, T7, T8, T9, TResult>> expression)
|
||||||
|
{
|
||||||
|
return _Select<TResult>(expression);
|
||||||
|
}
|
||||||
|
public ISugarQueryable<TResult> Select<TResult>(Expression<Func<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>> expression)
|
||||||
|
{
|
||||||
|
return _Select<TResult>(expression);
|
||||||
|
}
|
||||||
|
public ISugarQueryable<TResult> Select<TResult>(Expression<Func<T, T2, T3, T4, T5, T6, T7, T8, T9, T10,T11, TResult>> expression)
|
||||||
|
{
|
||||||
|
return _Select<TResult>(expression);
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region OrderBy
|
||||||
|
public new ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> OrderBy(Expression<Func<T, object>> expression, OrderByType type = OrderByType.Asc)
|
||||||
|
{
|
||||||
|
_OrderBy(expression, type);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> OrderBy(Expression<Func<T, T2, object>> expression, OrderByType type = OrderByType.Asc)
|
||||||
|
{
|
||||||
|
_OrderBy(expression, type);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> OrderBy(Expression<Func<T, T2, T3, object>> expression, OrderByType type = OrderByType.Asc)
|
||||||
|
{
|
||||||
|
_OrderBy(expression, type);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> OrderBy(Expression<Func<T, T2, T3, T4, object>> expression, OrderByType type = OrderByType.Asc)
|
||||||
|
{
|
||||||
|
_OrderBy(expression, type);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> OrderBy(Expression<Func<T, T2, T3, T4, T5, object>> expression, OrderByType type = OrderByType.Asc)
|
||||||
|
{
|
||||||
|
_OrderBy(expression, type);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> OrderBy(Expression<Func<T, T2, T3, T4, T5, T6, object>> expression, OrderByType type = OrderByType.Asc)
|
||||||
|
{
|
||||||
|
_OrderBy(expression, type);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> OrderBy(Expression<Func<T, T2, T3, T4, T5, T6, T7, object>> expression, OrderByType type = OrderByType.Asc)
|
||||||
|
{
|
||||||
|
_OrderBy(expression, type);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> OrderBy(Expression<Func<T, T2, T3, T4, T5, T6, T7, T8, object>> expression, OrderByType type = OrderByType.Asc)
|
||||||
|
{
|
||||||
|
_OrderBy(expression, type);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> OrderBy(Expression<Func<T, T2, T3, T4, T5, T6, T7, T8, T9, object>> expression, OrderByType type = OrderByType.Asc)
|
||||||
|
{
|
||||||
|
_OrderBy(expression, type);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> OrderBy(Expression<Func<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, object>> expression, OrderByType type = OrderByType.Asc)
|
||||||
|
{
|
||||||
|
_OrderBy(expression, type);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> OrderBy(Expression<Func<T, T2, T3, T4, T5, T6, T7, T8, T9, T10,T11, object>> expression, OrderByType type = OrderByType.Asc)
|
||||||
|
{
|
||||||
|
_OrderBy(expression, type);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region GroupBy
|
||||||
|
public new ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> GroupBy(Expression<Func<T, object>> expression)
|
||||||
|
{
|
||||||
|
_GroupBy(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> GroupBy(Expression<Func<T, T2, object>> expression)
|
||||||
|
{
|
||||||
|
_GroupBy(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> GroupBy(Expression<Func<T, T2, T3, object>> expression)
|
||||||
|
{
|
||||||
|
_GroupBy(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> GroupBy(Expression<Func<T, T2, T3, T4, object>> expression)
|
||||||
|
{
|
||||||
|
_GroupBy(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> GroupBy(Expression<Func<T, T2, T3, T4, T5, object>> expression)
|
||||||
|
{
|
||||||
|
_GroupBy(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> GroupBy(Expression<Func<T, T2, T3, T4, T5, T6, object>> expression)
|
||||||
|
{
|
||||||
|
_GroupBy(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> GroupBy(Expression<Func<T, T2, T3, T4, T5, T6, T7, object>> expression)
|
||||||
|
{
|
||||||
|
_GroupBy(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> GroupBy(Expression<Func<T, T2, T3, T4, T5, T6, T7, T8, object>> expression)
|
||||||
|
{
|
||||||
|
_GroupBy(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> GroupBy(Expression<Func<T, T2, T3, T4, T5, T6, T7, T8, T9, object>> expression)
|
||||||
|
{
|
||||||
|
_GroupBy(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> GroupBy(Expression<Func<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, object>> expression)
|
||||||
|
{
|
||||||
|
_GroupBy(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
public ISugarQueryable<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> GroupBy(Expression<Func<T, T2, T3, T4, T5, T6, T7, T8, T9, T10,T11, object>> expression)
|
||||||
|
{
|
||||||
|
_GroupBy(expression);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region Aggr
|
||||||
|
public TResult Max<TResult>(Expression<Func<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult>> expression)
|
||||||
|
{
|
||||||
|
return _Max<TResult>(expression);
|
||||||
|
}
|
||||||
|
public TResult Min<TResult>(Expression<Func<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult>> expression)
|
||||||
|
{
|
||||||
|
return _Min<TResult>(expression);
|
||||||
|
}
|
||||||
|
public TResult Sum<TResult>(Expression<Func<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult>> expression)
|
||||||
|
{
|
||||||
|
return _Sum<TResult>(expression);
|
||||||
|
}
|
||||||
|
public TResult Avg<TResult>(Expression<Func<T, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult>> expression)
|
||||||
|
{
|
||||||
|
return _Avg<TResult>(expression);
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user