public async Task WriteManyAsync(params T[] Entity) { await _dbSet.AddRangeAsync(Entity); await StaticOnWriteManyEventAsync?.Invoke(Entity, this); await ScopedOnWriteManyEventAsync?.Invoke(Entity, this); }
public async Task WriteManyAsync(ICollection <T> Entity) { await _dbSet.AddRangeAsync(Entity); await StaticOnWriteManyEventAsync?.Invoke(Entity, this); await ScopedOnWriteManyEventAsync?.Invoke(Entity, this); }