void IEntityInterceptor.OnEntityRemoved(IEntityEntryFacade entry, IRepository repository)
 {
     if (entry.Entity is T)
     {
         this.OnEntityRemoved(entry.Convert <T>(), repository);
     }
 }
Пример #2
0
 public void OnEntityRemoved(IEntityEntryFacade entity, IRepository repository)
 {
     this.OnEntityRemoved(entity.Convert <TEntity>(), repository);
 }
Пример #3
0
 public void OnSave(IEntityEntryFacade entity, IRepository repository)
 {
     this.OnSave(entity.Convert <TEntity>(), repository);
 }