feat: WFDBContext mit Entity-Framework erstellen

This commit is contained in:
Developer 02
2024-10-23 01:09:41 +02:00
parent e411c096c9
commit 7db29e9cfd
3 changed files with 33 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
using Microsoft.EntityFrameworkCore;
using WorkFlow.Domain.Entities;
namespace WorkFlow.Infrastructure
{
public class WFDBContext(DbContextOptions options) : DbContext(options)
{
}
}

View File

@@ -0,0 +1,17 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="DigitalData.Core.Infrastructure" Version="2.0.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\WorkFlow.Domain\WorkFlow.Domain.csproj" />
</ItemGroup>
</Project>