public void WriteMany(params T[] Entity) { _dbSet.AddRange(Entity); StaticOnWriteManyEvent?.Invoke(Entity, this); ScopedOnWriteManyEvent?.Invoke(Entity, this); }
public void WriteMany(ICollection <T> Entity) { _dbSet.AddRange(Entity); StaticOnWriteManyEvent?.Invoke(Entity, this); ScopedOnWriteManyEvent?.Invoke(Entity, this); }