Table of Contents

Namespace Biwen.QuickApi.UnitOfWork

Classes

AutoEventDbContext<TDbContext>

自动广播Entity的增删改事件的DbContext

AutoEventIgnoreAttribute

标注的Entity类型将不会自动广播增删改事件

Repository<TEntity>

Represents a default generic repository implements the IRepository<TEntity> interface.

SaveChangesResult

Represent operation result for SaveChanges.

UnitOfWorkServiceCollectionExtensions
UnitOfWork<TContext>

工作单元模式的默认实现,实现了 IUnitOfWorkIUnitOfWork{TContext} 接口

Interfaces

IRepositoryFactory

Defines the interfaces for IRepository<TEntity> interfaces.

IRepository<TEntity>

EfCore的泛型仓储接口

IUnitOfWork

Defines the interface(s) for unit of work.

IUnitOfWork<TContext>

Defines the interface(s) for generic unit of work.