1010using System . Text ;
1111using T = System . Collections . Generic . Dictionary < string , object > ;
1212
13- namespace FreeSql . Extensions . ZoreEntity
13+ namespace FreeSql . Extensions . ZeroEntity
1414{
15- partial class ZoreDbContext
15+ partial class ZeroDbContext
1616 {
1717 public class SelectImpl
1818 {
19- ZoreDbContext _dbcontext ;
19+ ZeroDbContext _dbcontext ;
2020 IFreeSql _orm => _dbcontext . _orm ;
21- List < ZoreTableInfo > _tables => _dbcontext . _tables ;
21+ List < ZeroTableInfo > _tables => _dbcontext . _tables ;
2222 int _mainTableIndex = - 1 ;
2323 List < TableAliasInfo > _tableAlias ;
2424 ISelect < TestDynamicFilterInfo > _select ;
@@ -33,7 +33,7 @@ public class SelectImpl
3333 bool _includeAll = false ;
3434
3535 SelectImpl ( ) { }
36- internal SelectImpl ( ZoreDbContext dbcontext , string tableName )
36+ internal SelectImpl ( ZeroDbContext dbcontext , string tableName )
3737 {
3838 _dbcontext = dbcontext ;
3939 var tableIndex = _tables . FindIndex ( a => a . CsName . ToLower ( ) == tableName ? . ToLower ( ) ) ;
@@ -61,7 +61,7 @@ public SelectImpl IncludeAll()
6161 LocalAutoInclude ( _tables [ _mainTableIndex ] , "a" ) ;
6262 return this ;
6363
64- void LocalAutoInclude ( ZoreTableInfo table , string alias , string navPath = "" )
64+ void LocalAutoInclude ( ZeroTableInfo table , string alias , string navPath = "" )
6565 {
6666 if ( ignores . ContainsKey ( table . CsName ) ) return ;
6767 ignores . Add ( table . CsName , true ) ;
@@ -179,7 +179,7 @@ SelectImpl Join(string joinType, string tableName, params string[] onFields)
179179 class TableAliasInfo
180180 {
181181 public string Alias { get ; set ; }
182- public ZoreTableInfo Table { get ; set ; }
182+ public ZeroTableInfo Table { get ; set ; }
183183 public string [ ] NavPath { get ; set ; }
184184 public List < NativeTuple < string , Action < SelectImpl > > > IncludeMany { get ; set ; } = new List < NativeTuple < string , Action < SelectImpl > > > ( ) ;
185185 }
@@ -200,7 +200,7 @@ string GetMaxAlias()
200200 return alias ;
201201 }
202202 }
203- TableAliasInfo FlagFetchResult ( ZoreTableInfo table , string alias , string navPath )
203+ TableAliasInfo FlagFetchResult ( ZeroTableInfo table , string alias , string navPath )
204204 {
205205 var tableAlias = _tableAlias . Where ( a => a . Alias == alias ) . FirstOrDefault ( ) ;
206206 if ( tableAlias == null )
@@ -533,7 +533,7 @@ public SelectImpl ForUpdate(bool nowait = false)
533533 return this ;
534534 }
535535
536- NativeTuple < string , ColumnInfo > ParseField ( ZoreTableInfo firstTable , string firstTableAlias , string property )
536+ NativeTuple < string , ColumnInfo > ParseField ( ZeroTableInfo firstTable , string firstTableAlias , string property )
537537 {
538538 if ( string . IsNullOrEmpty ( property ) ) return null ;
539539 var field = property . Split ( '.' ) . Select ( a => a . Trim ( ) ) . ToArray ( ) ;
0 commit comments