mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
- 增加 IUnitOfWork.States 自定义状态管理,便于扩展;
This commit is contained in:
@ -164,6 +164,8 @@ namespace FreeSql
|
||||
|
||||
public DbContext.EntityChangeReport EntityChangeReport { get; } = new DbContext.EntityChangeReport();
|
||||
|
||||
public Dictionary<string, object> States { get; } = new Dictionary<string, object>();
|
||||
|
||||
~UnitOfWork() => this.Dispose();
|
||||
int _disposeCounter;
|
||||
public void Dispose()
|
||||
|
Reference in New Issue
Block a user