mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
#1108 合并master冲突
This commit is contained in:
@ -29,6 +29,15 @@ namespace FreeSql
|
||||
DataFilterUtil.SetRepositoryDataFilter(this, null);
|
||||
DataFilter.Apply("", filter);
|
||||
AsTable(asTable);
|
||||
|
||||
fsql.GlobalFilter.GetFilters().ForEach(gf =>
|
||||
{
|
||||
(DataFilter as DataFilter<TEntity>)._filtersByOrm.TryAdd(gf.Name, new DataFilter<TEntity>.FilterItemByOrm
|
||||
{
|
||||
Filter = gf,
|
||||
IsEnabled = true
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
~BaseRepository() => this.Dispose();
|
||||
|
Reference in New Issue
Block a user