0b4f638cb9
BREAKING CHANGE: The previous abstraction was confusing/misleading and was forcefully registering all connections as transient. These changes invert the relationship a bit and change the injectable INonTransactionalDbConnection<TConnectionType> into scoped. It also allows us to provide an explicit connection factory for Sqlite and an extension method that's easier to use while preserving the very slim nature of the core data access package.
33 lines
1.3 KiB
XML
33 lines
1.3 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
|
|
<IsPackable>false</IsPackable>
|
|
<GenerateProgramFile>false</GenerateProgramFile>
|
|
<IsTestProject>true</IsTestProject>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Include="ReadWriteDbTests.fs" />
|
|
<Compile Include="ReadOnlyDbTests.fs" />
|
|
<Compile Include="Program.fs"/>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="coverlet.collector" Version="6.0.0"/>
|
|
<PackageReference Include="FakeItEasy" Version="8.3.0" />
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0"/>
|
|
<PackageReference Include="NUnit" Version="3.14.0"/>
|
|
<PackageReference Include="NUnit.Analyzers" Version="3.9.0"/>
|
|
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0"/>
|
|
<PackageReference Update="FSharp.Core" Version="8.0.300" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\FruityFoundation.DataAccess.Abstractions.FSharp\FruityFoundation.DataAccess.Abstractions.FSharp.fsproj" />
|
|
<ProjectReference Include="..\FruityFoundation.DataAccess.Abstractions\FruityFoundation.DataAccess.Abstractions.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|