Show / Hide Table of Contents

Interface IEfCoreBulkOperationProvider

Namespace: Volo.Abp.Domain.Repositories.EntityFrameworkCore
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
IEnumerable<TEntity> entities
bool autoSave
CancellationToken cancellationToken
Returns
Type Description
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
IEnumerable<TEntity> entities
bool autoSave
CancellationToken cancellationToken
Returns
Type Description
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
IEnumerable<TEntity> entities
bool autoSave
CancellationToken cancellationToken
Returns
Type Description
Task
Type Parameters
Name Description
TDbContext
TEntity

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform