Skip to content

Commit

Permalink
Use .NET/EF 9.0 GA
Browse files Browse the repository at this point in the history
  • Loading branch information
roji committed Nov 14, 2024
1 parent b875f5d commit 164c777
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
pull_request:

env:
dotnet_sdk_version: '9.0.100-rc.2.24474.11'
dotnet_sdk_version: '9.0.100'
postgis_version: 3
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ on:
- cron: '30 22 * * 6'

env:
dotnet_sdk_version: '9.0.100-rc.2.24474.11'
dotnet_sdk_version: '9.0.100'

jobs:
analyze:
Expand Down
4 changes: 2 additions & 2 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<EFCoreVersion>[9.0.0-rc.2.24474.1]</EFCoreVersion>
<MicrosoftExtensionsVersion>9.0.0-rc.2.24473.5</MicrosoftExtensionsVersion>
<EFCoreVersion>[9.0.0,10.0.0)</EFCoreVersion>
<MicrosoftExtensionsVersion>9.0.0</MicrosoftExtensionsVersion>
<NpgsqlVersion>9.0.0-preview.1-ci.20241028T080028</NpgsqlVersion>
</PropertyGroup>

Expand Down
4 changes: 2 additions & 2 deletions global.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"sdk": {
"version": "9.0.100-rc.2.24474.11",
"version": "9.0.100",
"rollForward": "latestMajor",
"allowPrerelease": true
"allowPrerelease": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ namespace Npgsql.EntityFrameworkCore.PostgreSQL.Migrations
public class MigrationsInfrastructureNpgsqlTest(MigrationsInfrastructureNpgsqlTest.MigrationsInfrastructureNpgsqlFixture fixture)
: MigrationsInfrastructureTestBase<MigrationsInfrastructureNpgsqlTest.MigrationsInfrastructureNpgsqlFixture>(fixture)
{
// TODO: Remove once we sync to https://github.com/dotnet/efcore/pull/35106
public override void Can_generate_no_migration_script()
{
}

// TODO: Remove once we sync to https://github.com/dotnet/efcore/pull/35106
public override void Can_generate_migration_from_initial_database_to_initial()
{
}

public override void Can_get_active_provider()
{
base.Can_get_active_provider();
Expand Down Expand Up @@ -159,6 +169,9 @@ public override void Can_diff_against_2_1_ASP_NET_Identity_model()
// TODO: Implement
}

protected override Task ExecuteSqlAsync(string value)
=> ((NpgsqlTestStore)Fixture.TestStore).ExecuteNonQueryAsync(value);

public class MigrationsInfrastructureNpgsqlFixture : MigrationsInfrastructureFixtureBase
{
protected override ITestStoreFactory TestStoreFactory
Expand Down

0 comments on commit 164c777

Please sign in to comment.