Commit Graph

2 Commits

Author SHA1 Message Date
Anatolii Grynchuk 6be7a0ceed feat: add BaseDbContext, non-generic IEntity, fix Entity constructor
- add non-generic IEntity with Created/Updated only
- IEntity<TId> now extends IEntity
- remove Created = DateTimeOffset.UtcNow from Entity constructor
- add BaseDbContext with ApplyTimestamps, UtcValueConverter, DeleteBehavior.Restrict
- add UnexpectedEntityStateException
- add HrynCo.Common dependency to HrynCo.DAL.EF

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-05 22:02:30 +03:00
Anatolii Grynchuk d254873172 feat: initial solution with HrynCo.DAL.Abstract and HrynCo.DAL.EF
- HrynCo.DAL.Abstract: IEntity<TId>, Entity base classes, ITransaction, IUnitOfWork
- HrynCo.DAL.EF: EfRepository<TDbContext,TEntity>, EfUnitOfWork<TDbContext>, EfTransactionAdapter
- Directory.Packages.props with centralized EF Core 9.0.5 versions
- TeamCity pipeline YAMLs for general-checks and publish

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-05 18:52:18 +03:00