|
|
|
@ -53,7 +53,7 @@ namespace Volo.Abp.Domain.Repositories |
|
|
|
/// <summary>
|
|
|
|
/// Deletes many entities by the given <paramref name="predicate"/>.
|
|
|
|
/// <para>
|
|
|
|
/// Please note: This may cause major performance problems if there are too many entities returned for a
|
|
|
|
/// Please note: This may cause major performance problems if there are too many entities returned for a
|
|
|
|
/// given predicate and the database provider doesn't have a way to efficiently delete many entities.
|
|
|
|
/// </para>
|
|
|
|
/// </summary>
|
|
|
|
@ -68,18 +68,10 @@ namespace Volo.Abp.Domain.Repositories |
|
|
|
bool autoSave = false, |
|
|
|
CancellationToken cancellationToken = default |
|
|
|
); |
|
|
|
|
|
|
|
/// <inheritdoc cref="DeleteAsync"/>
|
|
|
|
/// <remarks>This is an alias for <see cref="DeleteAsync"/> </remarks>
|
|
|
|
Task DeleteManyAsync( |
|
|
|
[NotNull] Expression<Func<TEntity, bool>> predicate, |
|
|
|
bool autoSave = false, |
|
|
|
CancellationToken cancellationToken = default |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
public interface IRepository<TEntity, TKey> : IRepository<TEntity>, IReadOnlyRepository<TEntity, TKey>, IBasicRepository<TEntity, TKey> |
|
|
|
where TEntity : class, IEntity<TKey> |
|
|
|
{ |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|