Implement BodyQueryBehavior and add SQL Server support
Updated BodyQueryBehavior to process BodyQuery using the IRecDbContext dependency. Added logic to execute SQL queries via FromSqlRaw and assign results to the action's Body property. Removed placeholder NotImplementedException. Added Microsoft.EntityFrameworkCore.SqlServer package to ReC.Application.csproj to enable SQL Server database operations.
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
<PackageReference Include="DigitalData.Core.Exceptions" Version="1.1.0" />
|
||||
<PackageReference Include="MediatR" Version="13.1.0" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="9.0.11" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.11" />
|
||||
<PackageReference Include="Microsoft.Extensions.Http" Version="10.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user