Skip to content

Commit ed304d9

Browse files
committed
Upgrade to EF 8 to remove DateOnly Dependency
1 parent 891e6b6 commit ed304d9

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

src/LinkDotNet.Blog.Infrastructure/LinkDotNet.Blog.Infrastructure.csproj

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

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.5" />
10+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.0-preview.3.23174.2" />
1111
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="7.0.0" />
1212
<PackageReference Include="RavenDB.Client" Version="5.4.103" />
1313
</ItemGroup>

src/LinkDotNet.Blog.Web/LinkDotNet.Blog.Web.csproj

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@
77
<ItemGroup>
88
<PackageReference Include="Blazored.Toast" Version="4.1.0" />
99
<PackageReference Include="BuildBundlerMinifier" Version="3.2.449" PrivateAssets="all" />
10-
<PackageReference Include="ErikEJ.EntityFrameworkCore.SqlServer.DateOnlyTimeOnly" Version="7.0.2" />
1110
<PackageReference Include="Markdig" Version="0.31.0" />
1211
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="7.0.5" />
13-
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="7.0.5" />
14-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="7.0.5" />
12+
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.0-preview.3.23174.2" />
13+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.0-preview.3.23174.2" />
1514
<PackageReference Include="System.ServiceModel.Syndication" Version="7.0.0" />
1615
</ItemGroup>
1716

src/LinkDotNet.Blog.Web/RegistrationExtensions/SqlRegistrationExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public static void UseSqlAsStorageProvider(this IServiceCollection services)
1616
{
1717
var configuration = s.GetRequiredService<AppConfiguration>();
1818
var connectionString = configuration.ConnectionString;
19-
builder.UseSqlServer(connectionString, x => x.UseDateOnlyTimeOnly())
19+
builder.UseSqlServer(connectionString)
2020
#if DEBUG
2121
.EnableDetailedErrors()
2222
#endif

tests/LinkDotNet.Blog.IntegrationTests/LinkDotNet.Blog.IntegrationTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<ItemGroup>
99
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="7.0.5" />
10-
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="7.0.5" />
10+
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.0-preview.3.23174.2" />
1111
<PackageReference Include="RavenDB.TestDriver" Version="5.4.103" />
1212
</ItemGroup>
1313

0 commit comments

Comments
 (0)