Interface IEfCoreBulkOperationProvider
Assembly: Volo.Abp.EntityFrameworkCore.dll
Syntax
public interface IEfCoreBulkOperationProvider
Methods
DeleteManyAsync<TDbContext, TEntity>(IEfCoreRepository<TEntity>, IEnumerable<TEntity>, bool, CancellationToken)
Declaration
Task DeleteManyAsync<TDbContext, TEntity>(IEfCoreRepository<TEntity> repository, IEnumerable<TEntity> entities, bool autoSave, CancellationToken cancellationToken) where TDbContext : IEfCoreDbContext where TEntity : class, IEntity
Parameters
| Type |
Name |
Description |
| IEfCoreRepository<TEntity> |
repository |
|
| System.Collections.Generic.IEnumerable<T><TEntity> |
entities |
|
| bool |
autoSave |
|
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Type Parameters
| Name |
Description |
| TDbContext |
|
| TEntity |
|
InsertManyAsync<TDbContext, TEntity>(IEfCoreRepository<TEntity>, IEnumerable<TEntity>, bool, CancellationToken)
Declaration
Task InsertManyAsync<TDbContext, TEntity>(IEfCoreRepository<TEntity> repository, IEnumerable<TEntity> entities, bool autoSave, CancellationToken cancellationToken) where TDbContext : IEfCoreDbContext where TEntity : class, IEntity
Parameters
| Type |
Name |
Description |
| IEfCoreRepository<TEntity> |
repository |
|
| System.Collections.Generic.IEnumerable<T><TEntity> |
entities |
|
| bool |
autoSave |
|
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Type Parameters
| Name |
Description |
| TDbContext |
|
| TEntity |
|
UpdateManyAsync<TDbContext, TEntity>(IEfCoreRepository<TEntity>, IEnumerable<TEntity>, bool, CancellationToken)
Declaration
Task UpdateManyAsync<TDbContext, TEntity>(IEfCoreRepository<TEntity> repository, IEnumerable<TEntity> entities, bool autoSave, CancellationToken cancellationToken) where TDbContext : IEfCoreDbContext where TEntity : class, IEntity
Parameters
| Type |
Name |
Description |
| IEfCoreRepository<TEntity> |
repository |
|
| System.Collections.Generic.IEnumerable<T><TEntity> |
entities |
|
| bool |
autoSave |
|
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Type Parameters
| Name |
Description |
| TDbContext |
|
| TEntity |
|
Extension Methods