public void RemoveRange(IEnumerable <TEntity> entities) { var entityArray = entities.ToArray(); _writerDelegate.RemoveRange(entityArray); _publisher.Publish(new DataEvent <IEnumerable <TEntity> >(entityArray, EventName <TEntity> .DeletedMany)); }
public void RemoveRange(IEnumerable <TEntity> entities) { var callerInfo = LoggingExtensions.Caller(); _profiler.Profile( () => _writerDelegate.RemoveRange(entities), $"{callerInfo} - entities=[{JsonLogging.Serialize(entities)}];" ); }
public void RemoveRange(IEnumerable <TEntity> entities) { WriterDelegate.RemoveRange(entities); }