Exemplo n.º 1
0
 public void RaiseDeleting(Object entity, TDbContext dbc, ref Boolean cancel)
 {
     var entry = new DeletingEntry((TEntity)entity, dbc, cancel); RaiseDeletingInner(entry); cancel = entry.Cancel;
 }
 public void RaiseDeleting(IServiceProvider sp, Object entity, TDbContext dbc, ref Boolean cancel)
 {
     var entry = new DeletingEntry <TEntity, TDbContext>((TEntity)entity, dbc, sp, cancel); RaiseDeletingActions(entry, sp); cancel = entry.Cancel;
 }