@@ -188,6 +188,7 @@ class UnitOfWorkOrginal : IUnitOfWork
188188 public IFreeSql Orm => _baseUow . Orm ;
189189 public IsolationLevel ? IsolationLevel { get => _baseUow . IsolationLevel ; set => _baseUow . IsolationLevel = value ; }
190190 public DbContext . EntityChangeReport EntityChangeReport => _baseUow . EntityChangeReport ;
191+ public Dictionary < string , object > States => _baseUow . States ;
191192
192193 public DbTransaction GetOrBeginTransaction ( bool isCreate = true ) => _baseUow . GetOrBeginTransaction ( isCreate ) ;
193194 public void Commit ( ) => _baseUow . Commit ( ) ;
@@ -206,6 +207,7 @@ class UnitOfWorkVirtual : IUnitOfWork
206207 public IFreeSql Orm => _baseUow . Orm ;
207208 public IsolationLevel ? IsolationLevel { get => _baseUow . IsolationLevel ; set { } }
208209 public DbContext . EntityChangeReport EntityChangeReport => _baseUow . EntityChangeReport ;
210+ public Dictionary < string , object > States => _baseUow . States ;
209211
210212 public DbTransaction GetOrBeginTransaction ( bool isCreate = true ) => _baseUow . GetOrBeginTransaction ( isCreate ) ;
211213 public void Commit ( ) { }
@@ -220,6 +222,7 @@ class UnitOfWorkNothing : IUnitOfWork
220222 public IFreeSql Orm => _fsql ;
221223 public IsolationLevel ? IsolationLevel { get ; set ; }
222224 public DbContext . EntityChangeReport EntityChangeReport { get ; } = new DbContext . EntityChangeReport ( ) ;
225+ public Dictionary < string , object > States { get ; } = new Dictionary < string , object > ( ) ;
223226
224227 public DbTransaction GetOrBeginTransaction ( bool isCreate = true ) => null ;
225228 public void Commit ( )
0 commit comments