mirror of
https://github.com/zoriya/EntityFrameworkCore.Projectables.git
synced 2025-12-06 05:56:10 +00:00
Relaxed version requirements
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net5.0</TargetFramework>
|
<TargetFramework>netstandard2.0</TargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="5.0.6" />
|
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -30,8 +30,8 @@ namespace EntityFrameworkCore.Projections.Services
|
|||||||
{
|
{
|
||||||
parameterArgumentMapping = parameterArgumentMapping.Concat(
|
parameterArgumentMapping = parameterArgumentMapping.Concat(
|
||||||
node.Object is not null
|
node.Object is not null
|
||||||
? reflectedExpression.Parameters.Skip(1).Zip(node.Arguments)
|
? reflectedExpression.Parameters.Skip(1).Zip(node.Arguments, (parameter, argument) => (parameter, argument))
|
||||||
: reflectedExpression.Parameters.Zip(node.Arguments)
|
: reflectedExpression.Parameters.Zip(node.Arguments, (parameter, argument) => (parameter, argument))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user