Пример #1
0
 public void WriteMany(params T[] Entity)
 {
     _dbSet.AddRange(Entity);
     StaticOnWriteManyEvent?.Invoke(Entity, this);
     ScopedOnWriteManyEvent?.Invoke(Entity, this);
 }
Пример #2
0
 public void WriteMany(ICollection <T> Entity)
 {
     _dbSet.AddRange(Entity);
     StaticOnWriteManyEvent?.Invoke(Entity, this);
     ScopedOnWriteManyEvent?.Invoke(Entity, this);
 }