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