Skip to content

Interfaces

DDSurok edited this page Aug 6, 2020 · 1 revision

Interfaces

Main interfaces

IRepository (IAsyncRepository)

Generic interface for the repository with the most common methods

IDbRepository (IAsyncDbRepository)

Generic interface for the repository for placing data in a database, inherited from IRepository (IAsyncRepository)

ICachadRepository

Generic interface for the repository for caching in-memory data from a database, inherited from IRepository

Common interfaces

IObject

Generic interface for an object stored in the repository

IDbObject

Generic interface for an object stored in the database repository, inherited IObject

ICriteria

Main interface for describing conditions for selecting objects in the database