This commit is contained in:
sunkaixuan
2017-12-19 16:40:44 +08:00
parent 036b6288f4
commit 80e6c1a0d8
2 changed files with 83 additions and 0 deletions

View File

@@ -1286,6 +1286,24 @@ namespace SqlSugar
_GroupBy(expression);
return this;
}
public new ISugarQueryable<T, T2> Having(Expression<Func<T, bool>> expression)
{
this._Having(expression);
return this;
}
public ISugarQueryable<T, T2> Having(Expression<Func<T, T2, bool>> expression)
{
this._Having(expression);
return this;
}
public new ISugarQueryable<T, T2> Having(string whereString, object whereObj)
{
base.Having(whereString,whereObj);
return this;
}
#endregion
#region Aggr
@@ -1425,6 +1443,30 @@ namespace SqlSugar
_GroupBy(expression);
return this;
}
public new ISugarQueryable<T, T2,T3> Having(Expression<Func<T, bool>> expression)
{
this._Having(expression);
return this;
}
public ISugarQueryable<T, T2,T3> Having(Expression<Func<T, T2, bool>> expression)
{
this._Having(expression);
return this;
}
public ISugarQueryable<T, T2, T3> Having(Expression<Func<T, T2,T3, bool>> expression)
{
this._Having(expression);
return this;
}
public new ISugarQueryable<T, T2,T3> Having(string whereString, object whereObj)
{
base.Having(whereString, whereObj);
return this;
}
#endregion
#region Order
@@ -1819,6 +1861,35 @@ namespace SqlSugar
_GroupBy(expression);
return this;
}
public new ISugarQueryable<T, T2, T3,T4> Having(Expression<Func<T, bool>> expression)
{
this._Having(expression);
return this;
}
public ISugarQueryable<T, T2, T3,T4> Having(Expression<Func<T, T2, bool>> expression)
{
this._Having(expression);
return this;
}
public ISugarQueryable<T, T2, T3,T4> Having(Expression<Func<T, T2, T3, bool>> expression)
{
this._Having(expression);
return this;
}
public ISugarQueryable<T, T2, T3, T4> Having(Expression<Func<T, T2, T3,T4, bool>> expression)
{
this._Having(expression);
return this;
}
public new ISugarQueryable<T, T2, T3,T4> Having(string whereString, object whereObj)
{
base.Having(whereString, whereObj);
return this;
}
#endregion
#region Aggr

View File

@@ -157,6 +157,9 @@ namespace SqlSugar
#region GroupBy
new ISugarQueryable<T, T2> GroupBy(Expression<Func<T, object>> expression);
ISugarQueryable<T, T2> GroupBy(Expression<Func<T, T2, object>> expression);
new ISugarQueryable<T,T2> Having(Expression<Func<T, bool>> expression);
ISugarQueryable<T, T2> Having(Expression<Func<T,T2, bool>> expression);
new ISugarQueryable<T,T2> Having(string whereString, object whereObj = null);
#endregion
#region Aggr
@@ -220,6 +223,10 @@ namespace SqlSugar
new ISugarQueryable<T, T2, T3> GroupBy(Expression<Func<T, object>> expression);
ISugarQueryable<T, T2, T3> GroupBy(Expression<Func<T, T2, object>> expression);
ISugarQueryable<T, T2, T3> GroupBy(Expression<Func<T, T2, T3, object>> expression);
new ISugarQueryable<T, T2,T3> Having(Expression<Func<T, bool>> expression);
ISugarQueryable<T, T2,T3> Having(Expression<Func<T, T2, bool>> expression);
ISugarQueryable<T, T2, T3> Having(Expression<Func<T, T2,T3, bool>> expression);
new ISugarQueryable<T, T2,T3> Having(string whereString, object whereObj = null);
#endregion
#region Aggr
@@ -289,6 +296,11 @@ namespace SqlSugar
ISugarQueryable<T, T2, T3, T4> GroupBy(Expression<Func<T, T2, object>> expression);
ISugarQueryable<T, T2, T3, T4> GroupBy(Expression<Func<T, T2, T3, object>> expression);
ISugarQueryable<T, T2, T3, T4> GroupBy(Expression<Func<T, T2, T3, T4, object>> expression);
new ISugarQueryable<T, T2, T3,T4> Having(Expression<Func<T, bool>> expression);
ISugarQueryable<T, T2, T3,T4> Having(Expression<Func<T, T2, bool>> expression);
ISugarQueryable<T, T2, T3,T4> Having(Expression<Func<T, T2, T3, bool>> expression);
ISugarQueryable<T, T2, T3, T4> Having(Expression<Func<T, T2, T3,T4, bool>> expression);
new ISugarQueryable<T, T2,T3,T4> Having(string whereString, object whereObj = null);
#endregion
#region Aggr