HAKOM.Persistence.Core.Net.Api Namespace
Contains the public API for the persistence core, including repository abstractions, repository information management, and base implementations for repositories and stores.
The central types in this namespace are:
- IRepository — Represents a named data store that can be configured with an IRepositoryConfiguration.
- IRepository<TRepositoryInformation> — Extends IRepository with the ability to retrieve typed repository information.
- IRepositoryStore<TRepository> — Provides methods to load, find, and count repositories by name.
- IRepositoryFactory<TRepository> — Creates repository instances from configuration.
- IRepositoryInformation — Describes a repository’s name, type, and version.
- Repository — Abstract base class for repository implementations, managing configuration and storage provider lifecycle.
- RepositoryStore<TRepository> — Abstract base class for repository store implementations with authorization and compatibility checks.
| Classes | |
|---|---|
| Repository | Abstract base class for IRepository implementations that manages configuration, storage provider creation, and the repository lifecycle. |
| Repository<TRepositoryInformation> | Abstract base class for repositories that provide typed TRepositoryInformation, extending Repository with an IRepositoryInformationStore<TRepositoryInformation>. |
| RepositoryInformation | Abstract base class for IRepositoryInformation implementations. |
| RepositoryInformationStore<TStorageProvider,TRepositoryInformation> | Abstract base class for IRepositoryInformationStore<TRepositoryInformation> implementations that retrieves repository information using a TStorageProvider, with support for version resolution and optional caching. |
| RepositoryStore<TRepository,TRepositoryInformation> | Extended RepositoryStore<TRepository> that adds version compatibility checking based on TRepositoryInformation. |
| RepositoryStore<TRepository> | Abstract base class for IRepositoryStore<TRepository> implementations that provides repository loading with authorization checks, configuration-based repository discovery, and optional compatibility verification. |
| Interfaces | |
|---|---|
| IRepository | Represents a place for persisting data. This may be a database, a file system, etc. |
| IRepository<TRepositoryInformation> | A repository that provides access to typed TRepositoryInformation. |
| IRepositoryFactory<TRepository> | Creates instances of TRepository from a given IRepositoryConfiguration. |
| IRepositoryInformation | Describes information about a repository, including its name, type, and version. |
| IRepositoryInformationStore | A store that retrieves IRepositoryInformation from the underlying storage. |
| IRepositoryInformationStore<TRepositoryInformation> | A store that retrieves typed TRepositoryInformation from the underlying storage. |
| IRepositoryInformationStoreFactory | Creates a store used to retrieve information about a repository. |
| IRepositoryStore<TRepository> | Provides methods to load, find, and count repositories of type TRepository. |
Was this page helpful?Thanks for your feedback!