diff --git a/Directory.Packages.props b/Directory.Packages.props index 2475df9db..ab4c1b0df 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -1,8 +1,8 @@ - 11.0.0-preview.4.26224.122 - 11.0.0-preview.4.26224.122 - 11.0.0-preview.4.26224.122 + 11.0.0-preview.5.26227.124 + 11.0.0-preview.5.26227.124 + 11.0.0-preview.5.26227.124 10.0.0 diff --git a/test/EFCore.PG.FunctionalTests/TestUtilities/TestRelationalCommandBuilderFactory.cs b/test/EFCore.PG.FunctionalTests/TestUtilities/TestRelationalCommandBuilderFactory.cs index 3a9732e37..87da169dc 100644 --- a/test/EFCore.PG.FunctionalTests/TestUtilities/TestRelationalCommandBuilderFactory.cs +++ b/test/EFCore.PG.FunctionalTests/TestUtilities/TestRelationalCommandBuilderFactory.cs @@ -34,10 +34,6 @@ public IRelationalCommandBuilder RemoveParameterAt(int index) return this; } - [Obsolete("Code trying to add parameter should add type mapped parameter using TypeMappingSource directly.")] - public IRelationalTypeMappingSource TypeMappingSource - => Dependencies.TypeMappingSource; - public IRelationalCommand Build() => new TestRelationalCommand( Dependencies, diff --git a/test/EFCore.PG.FunctionalTests/TransactionNpgsqlTest.cs b/test/EFCore.PG.FunctionalTests/TransactionNpgsqlTest.cs index 5fd149f03..b921844aa 100644 --- a/test/EFCore.PG.FunctionalTests/TransactionNpgsqlTest.cs +++ b/test/EFCore.PG.FunctionalTests/TransactionNpgsqlTest.cs @@ -11,13 +11,6 @@ public override Task SaveChanges_can_be_used_with_AutoTransactionBehavior_Never( // (see https://github.com/npgsql/npgsql/issues/1307) => Task.CompletedTask; -#pragma warning disable CS0618 // AutoTransactionsEnabled is obsolete - public override Task SaveChanges_can_be_used_with_AutoTransactionsEnabled_false(bool async) - // Npgsql batches the inserts, creating an implicit transaction which fails the test - // (see https://github.com/npgsql/npgsql/issues/1307) - => Task.CompletedTask; -#pragma warning restore CS0618 - protected override DbContext CreateContextWithConnectionString() { var options = Fixture.AddOptions(