Skip to content

Commit a7d1acf

Browse files
committed
update to ef core 3.1.2
1 parent 8111740 commit a7d1acf

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

ASPNETDemo/ASPNETDemo.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
<Project Sdk="Microsoft.NET.Sdk.Web">
1+
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
44
<TargetFramework>netcoreapp3.0</TargetFramework>
55
</PropertyGroup>
66

77
<ItemGroup>
8-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.0.0" />
8+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.2" />
99
</ItemGroup>
1010

1111
<ItemGroup>

Example/Example.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.0.0" />
9+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.2" />
1010
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="3.0.0" />
1111
</ItemGroup>
1212

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
using System.Linq.Expressions;
2+
3+
namespace FileContextCore
4+
{
5+
public static class ExpressionExtension
6+
{
7+
public static LambdaExpression UnwrapLambdaFromQuote(this Expression expression)
8+
=> (LambdaExpression)(expression is UnaryExpression unary && expression.NodeType == ExpressionType.Quote
9+
? unary.Operand
10+
: expression);
11+
}
12+
}

FileContextCore/FileContextCore.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<ItemGroup>
2828
<PackageReference Include="CsvHelper" Version="12.1.3" />
2929
<PackageReference Include="EPPlus" Version="4.5.3.2" />
30-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.0.0" />
30+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.2" />
3131
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="3.0.0" />
3232
<PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
3333
<PackageReference Include="Newtonsoft.Json.Bson" Version="1.0.2" />

0 commit comments

Comments
 (0)