Skip to content

Commit 939f5ae

Browse files
author
David Fallah
committed
Upgrade project dependencies
1 parent ddd7d27 commit 939f5ae

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

samples/SpatialFocus.EntityFrameworkCore.Extensions.SQLiteDemo/SpatialFocus.EntityFrameworkCore.Extensions.SQLiteDemo.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp3.0</TargetFramework>
5+
<TargetFramework>net6.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.0" />
9+
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="6.0.0" />
1010
</ItemGroup>
1111

1212
<ItemGroup>

src/SpatialFocus.EntityFrameworkCore.Extensions/NamingExtension.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public static void ConfigureNames(this ModelBuilder modelBuilder, NamingOptions
3131
// Properties
3232
entity.GetProperties()
3333
.ToList()
34-
.ForEach(x => x.SetColumnName(namingOptions.ColumnNamingFunction(x.GetColumnName())));
34+
.ForEach(x => x.SetColumnName(namingOptions.ColumnNamingFunction(x.GetColumnBaseName())));
3535

3636
// Primary and Alternative keys
3737
entity.GetKeys().ToList().ForEach(x => x.SetName(namingOptions.ConstraintNamingFunction(x.GetName())));
@@ -44,7 +44,7 @@ public static void ConfigureNames(this ModelBuilder modelBuilder, NamingOptions
4444
// Indices
4545
entity.GetIndexes()
4646
.ToList()
47-
.ForEach(x => x.SetName(namingOptions.ConstraintNamingFunction(x.GetName())));
47+
.ForEach(x => x.SetDatabaseName(namingOptions.ConstraintNamingFunction(x.GetDatabaseName())));
4848
}
4949
}
5050
}

src/SpatialFocus.EntityFrameworkCore.Extensions/SpatialFocus.EntityFrameworkCore.Extensions.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>netstandard2.1</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
</PropertyGroup>
66

77
<PropertyGroup>
@@ -33,8 +33,8 @@
3333
<ItemGroup>
3434
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
3535
<PackageReference Include="Humanizer.Core" Version="2.8.26" />
36-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.0" />
37-
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="3.1.0" />
36+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.0" />
37+
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="6.0.0" />
3838
</ItemGroup>
3939

4040
<ItemGroup>

test/SpatialFocus.EntityFrameworkCore.Extensions.Test/SpatialFocus.EntityFrameworkCore.Extensions.Test.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55

66
<IsPackable>false</IsPackable>
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="3.1.0" />
11-
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.0" />
10+
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="6.0.0" />
11+
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="6.0.0" />
1212
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" />
1313
<PackageReference Include="xunit" Version="2.4.0" />
1414
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />

0 commit comments

Comments
 (0)