Exemplo n.º 1
0
 public SaveChangesOperation(ObjectContextBase ctx, IDbHookHandler hookHandler)
 {
     _ctx         = ctx;
     _hookHandler = hookHandler;
 }
Exemplo n.º 2
0
 public void Dispose()
 {
     _ctx            = null;
     _hookHandler    = null;
     _changedEntries = null;
 }
Exemplo n.º 3
0
 public SaveChangesOperation(ObjectContextBase ctx, IDbHookHandler hookHandler)
 {
     _ctx            = ctx;
     _hookHandler    = hookHandler;
     _changedEntries = ctx.GetChangedEntries().ToList();
 }