Commit Graph

5 Commits

Author SHA1 Message Date
Anatolii Grynchuk 4fac3ddba9 feat: expose UtcNow property on BaseDbContext
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-05 22:16:53 +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
Anatolii Grynchuk b7aec10ee0 chore: remove TeamCity pipeline YAMLs for general-checks and publish 2026-05-05 20:31:19 +03:00
Anatolii Grynchuk b6f8b0f1f1 fix: use plain string for runs-on self-hosted
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-05 19:17:12 +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