<Project Sdk="Microsoft.NET.Sdk">

  <!--
    Persistence: DodoDbContext, IEntityTypeConfiguration implementations, migrations and
    query helpers. EF Core and Npgsql arrive in M1 with the first migration.
  -->

  <ItemGroup>
    <ProjectReference Include="../DodoSSH.Domain/DodoSSH.Domain.csproj" />
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" />
    <PackageReference Include="EFCore.NamingConventions" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Design">
      <PrivateAssets>all</PrivateAssets>
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
    </PackageReference>
  </ItemGroup>

  <ItemGroup>
    <InternalsVisibleTo Include="DodoSSH.Infrastructure.Tests" />
    <InternalsVisibleTo Include="DodoSSH.Api.Tests" />
  </ItemGroup>

</Project>
