PoweredSoft.ObjectStorage.Core by David Lebee

<PackageReference Include="PoweredSoft.ObjectStorage.Core" Version="1.0.118" />

 IObjectStorageCollection<TEntity>

public interface IObjectStorageCollection<TEntity>
string CollectionName { get; }

Task<TEntity> AddAsync(TEntity entity, CancellationToken cancellationToken = default)

Task DeleteAsync(TEntity entity, CancellationToken cancellationToken = default)

Task<List<TEntity>> GetAllAsync(CancellationToken cancellationToken = default)

Task<List<TEntity>> GetAllAsync(Expression<Func<TEntity, bool>> predicate, CancellationToken cancellationToken = default)

Task<TEntity> GetAsync(object key, CancellationToken cancellationToken = default)

Task<TEntity> UpdateAsync(TEntity entity, CancellationToken cancellationToken = default)