feat: WFDBContext mit Entity-Framework erstellen
This commit is contained in:
9
WorkFlow.Infrastructure/WFDBContext.cs
Normal file
9
WorkFlow.Infrastructure/WFDBContext.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using WorkFlow.Domain.Entities;
|
||||
|
||||
namespace WorkFlow.Infrastructure
|
||||
{
|
||||
public class WFDBContext(DbContextOptions options) : DbContext(options)
|
||||
{
|
||||
}
|
||||
}
|
||||
17
WorkFlow.Infrastructure/WorkFlow.Infrastructure.csproj
Normal file
17
WorkFlow.Infrastructure/WorkFlow.Infrastructure.csproj
Normal 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>
|
||||
Reference in New Issue
Block a user