mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-31 15:56:25 +08:00
Remove CrossQueryWithAttr
This commit is contained in:
parent
4e832ed484
commit
1e12b762f6
@ -46,11 +46,11 @@ namespace SqlSugar
|
||||
return this.Context.EntityMaintenance.GetEntityInfo<T>();
|
||||
}
|
||||
}
|
||||
public ISugarQueryable<T> CrossQueryWithAttr()
|
||||
{
|
||||
this.QueryBuilder.IsCrossQueryWithAttr = true;
|
||||
return this;
|
||||
}
|
||||
//public ISugarQueryable<T> CrossQueryWithAttr()
|
||||
//{
|
||||
// this.QueryBuilder.IsCrossQueryWithAttr = true;
|
||||
// return this;
|
||||
//}
|
||||
public ISugarQueryable<T> CrossQuery<Type>(string configId)
|
||||
{
|
||||
return this.CrossQuery(typeof(Type),configId);
|
||||
|
@ -19,7 +19,7 @@ namespace SqlSugar
|
||||
ISugarQueryable<T> AS<T2>(string tableName);
|
||||
ISugarQueryable<T> AS(string tableName);
|
||||
ISugarQueryable<T> With(string withString);
|
||||
ISugarQueryable<T> CrossQueryWithAttr();
|
||||
//ISugarQueryable<T> CrossQueryWithAttr();
|
||||
ISugarQueryable<T> CrossQuery<Type>(string configId);
|
||||
ISugarQueryable<T> CrossQuery(Type type ,string configId);
|
||||
ISugarQueryable<T> IncludeLeftJoin(Expression<Func<T, object>> LeftObject);
|
||||
|
@ -1307,7 +1307,9 @@ namespace SqlSugar
|
||||
#region Tenant Crud
|
||||
public ISugarQueryable<T> QueryableWithAttr<T>()
|
||||
{
|
||||
return this.GetConnectionWithAttr<T>().Queryable<T>();
|
||||
var result= this.GetConnectionWithAttr<T>().Queryable<T>();
|
||||
result.QueryBuilder.IsCrossQueryWithAttr= true;
|
||||
return result;
|
||||
}
|
||||
public IInsertable<T> InsertableWithAttr<T>(T insertObj) where T : class, new()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user