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>
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="HrynCo.Common" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design">
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
|
||||
Reference in New Issue
Block a user