Add Updateable.InnerJoin

This commit is contained in:
sunkaixuan
2025-09-10 18:04:07 +08:00
parent 8fd28fee0e
commit 06eb8e9523
2 changed files with 6 additions and 0 deletions

View File

@@ -272,6 +272,11 @@ namespace SqlSugar
var tableName=$" ({queryable.Clone().ToSqlString()}) ";;
return this.InnerJoin(joinExpress, tableName);
}
public IUpdateable<T, T2> InnerJoin<T2>(ISugarQueryable<T2> queryable, Expression<Func<T, T2, bool>> joinExpress)
{
var tableName = $" ({queryable.Clone().ToSqlString()}) "; ;
return this.InnerJoin(joinExpress, tableName);
}
public IUpdateable<T, T2> InnerJoin<T2>(Expression<Func<T, T2, bool>> joinExpress,string TableName)
{
UpdateableProvider<T, T2> result = new UpdateableProvider<T, T2>();

View File

@@ -122,6 +122,7 @@ namespace SqlSugar
IUpdateable<T,T2> InnerJoin<T2>(Expression<Func<T,T2,bool>> joinExpress);
IUpdateable<T, T2> InnerJoin<T2>(Expression<Func<T, T2, bool>> joinExpress,string tableName);
IUpdateable<T, T2> InnerJoin<T2>(ISugarQueryable<T> queryable,Expression<Func<T, T2, bool>> joinExpress);
IUpdateable<T, T2> InnerJoin<T2>(ISugarQueryable<T2> queryable, Expression<Func<T, T2, bool>> joinExpress);
UpdateablePage<T> PageSize(int pageSize);
IUpdateable<T> In(object[] ids);
ParameterUpdateable<T> UseParameter();