// whn disposing, should dispose related DbContext to prevent memory leak
 public void Dispose()
 {
     _dbContext?.Dispose();
 }
示例#2
0
 public void Dispose()
 {
     _handlerDbContext.Dispose();
 }
示例#3
0
 protected override void DisposeCore()
 {
     dbContext?.Dispose();
 }