File tree Expand file tree Collapse file tree
src/SquidStd.Persistence.Abstractions/Interfaces/Persistence Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,12 @@ namespace SquidStd.Persistence.Abstractions.Interfaces.Persistence;
55/// and return detached clones; writes append to the journal then apply to memory. Reads are available
66/// in both synchronous and asynchronous forms; the async overloads delegate to the synchronous ones.
77/// </summary>
8+ /// <remarks>
9+ /// WARNING: do not register or resolve <see cref="IEntityStore{TEntity,TKey}" /> directly in the DI
10+ /// container - it is intentionally never registered there, and its implementation cannot be constructed
11+ /// by the container. Register the entity with <c>RegisterPersistedEntity</c> and obtain the store from
12+ /// <see cref="IPersistenceService.GetStore{TEntity,TKey}" /> instead.
13+ /// </remarks>
814public interface IEntityStore < TEntity , in TKey >
915{
1016 /// <summary>Completes synchronously from memory. Returns the number of entities of this type currently held.</summary>
You can’t perform that action at this time.
0 commit comments