Ejemplo n.º 1
0
        public async Task WriteManyAsync(params T[] Entity)
        {
            await _dbSet.AddRangeAsync(Entity);

            await StaticOnWriteManyEventAsync?.Invoke(Entity, this);

            await ScopedOnWriteManyEventAsync?.Invoke(Entity, this);
        }
Ejemplo n.º 2
0
        public async Task WriteManyAsync(ICollection <T> Entity)
        {
            await _dbSet.AddRangeAsync(Entity);

            await StaticOnWriteManyEventAsync?.Invoke(Entity, this);

            await ScopedOnWriteManyEventAsync?.Invoke(Entity, this);
        }