feat: add BaseDbContext, non-generic IEntity, fix Entity constructor #2

Merged
agrynco merged 2 commits from development into main 2026-05-05 22:03:32 +03:00

2 Commits

Author SHA1 Message Date
agrynco 521ae31dce Merge pull request 'feat: add BaseDbContext, non-generic IEntity, fix Entity constructor' (#1) from fix/entity-base-improvements into development 2026-05-05 22:03:21 +03:00
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