Added Aspire
This commit is contained in:
12
Lutra/Lutra.Application/Interfaces/ILutraDbContext.cs
Normal file
12
Lutra/Lutra.Application/Interfaces/ILutraDbContext.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using Lutra.Domain.Entities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
namespace Lutra.Application.Interfaces;
|
||||
|
||||
public interface ILutraDbContext
|
||||
{
|
||||
DbSet<Supermarkt> Supermarkten { get; }
|
||||
|
||||
DbSet<Verspakket> Verspaketten { get; }
|
||||
|
||||
Task<int> SaveChangesAsync(CancellationToken cancellationToken);
|
||||
}
|
||||
@@ -1,13 +1,18 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Cortex.Mediator" Version="1.7.0" />
|
||||
<PackageReference Include="Cortex.Mediator" Version="2.1.0" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="10.0.1" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Lutra.Domain\Lutra.Domain.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user