Skip to content

Commit 164c777

Browse files
committed
Use .NET/EF 9.0 GA
1 parent b875f5d commit 164c777

File tree

5 files changed

+19
-6
lines changed

5 files changed

+19
-6
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
pull_request:
1212

1313
env:
14-
dotnet_sdk_version: '9.0.100-rc.2.24474.11'
14+
dotnet_sdk_version: '9.0.100'
1515
postgis_version: 3
1616
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
1717

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ on:
2727
- cron: '30 22 * * 6'
2828

2929
env:
30-
dotnet_sdk_version: '9.0.100-rc.2.24474.11'
30+
dotnet_sdk_version: '9.0.100'
3131

3232
jobs:
3333
analyze:

Directory.Packages.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22
<PropertyGroup>
3-
<EFCoreVersion>[9.0.0-rc.2.24474.1]</EFCoreVersion>
4-
<MicrosoftExtensionsVersion>9.0.0-rc.2.24473.5</MicrosoftExtensionsVersion>
3+
<EFCoreVersion>[9.0.0,10.0.0)</EFCoreVersion>
4+
<MicrosoftExtensionsVersion>9.0.0</MicrosoftExtensionsVersion>
55
<NpgsqlVersion>9.0.0-preview.1-ci.20241028T080028</NpgsqlVersion>
66
</PropertyGroup>
77

global.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"sdk": {
3-
"version": "9.0.100-rc.2.24474.11",
3+
"version": "9.0.100",
44
"rollForward": "latestMajor",
5-
"allowPrerelease": true
5+
"allowPrerelease": false
66
}
77
}

test/EFCore.PG.FunctionalTests/Migrations/MigrationsInfrastructureNpgsqlTest.cs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ namespace Npgsql.EntityFrameworkCore.PostgreSQL.Migrations
77
public class MigrationsInfrastructureNpgsqlTest(MigrationsInfrastructureNpgsqlTest.MigrationsInfrastructureNpgsqlFixture fixture)
88
: MigrationsInfrastructureTestBase<MigrationsInfrastructureNpgsqlTest.MigrationsInfrastructureNpgsqlFixture>(fixture)
99
{
10+
// TODO: Remove once we sync to https://github.com/dotnet/efcore/pull/35106
11+
public override void Can_generate_no_migration_script()
12+
{
13+
}
14+
15+
// TODO: Remove once we sync to https://github.com/dotnet/efcore/pull/35106
16+
public override void Can_generate_migration_from_initial_database_to_initial()
17+
{
18+
}
19+
1020
public override void Can_get_active_provider()
1121
{
1222
base.Can_get_active_provider();
@@ -159,6 +169,9 @@ public override void Can_diff_against_2_1_ASP_NET_Identity_model()
159169
// TODO: Implement
160170
}
161171

172+
protected override Task ExecuteSqlAsync(string value)
173+
=> ((NpgsqlTestStore)Fixture.TestStore).ExecuteNonQueryAsync(value);
174+
162175
public class MigrationsInfrastructureNpgsqlFixture : MigrationsInfrastructureFixtureBase
163176
{
164177
protected override ITestStoreFactory TestStoreFactory

0 commit comments

Comments
 (0)