Added dbcontext factory

This commit is contained in:
2026-08-15 19:18:17 +02:00
parent 7324268993
commit df7ba866f5
3 changed files with 38 additions and 0 deletions
@@ -4,10 +4,23 @@
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<UserSecretsId>c4131f8d-ff78-432e-86d2-f6e131bd4cd3</UserSecretsId>
</PropertyGroup>
<!-- Database -->
<ItemGroup>
<Using Include="Microsoft.EntityFrameworkCore" />
<Using Include="Microsoft.EntityFrameworkCore.Design" />
</ItemGroup>
<!-- Configuration -->
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Configuration" Version="10.0.11" />
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="10.0.11" />
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="10.0.11" />
<Using Include="Microsoft.Extensions.Configuration" />
</ItemGroup>
<ItemGroup>