Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project>
<PropertyGroup>
<EFCoreVersion>11.0.0-preview.4.26224.122</EFCoreVersion>
<MicrosoftExtensionsVersion>11.0.0-preview.4.26224.122</MicrosoftExtensionsVersion>
<MicrosoftExtensionsConfigurationVersion>11.0.0-preview.4.26224.122</MicrosoftExtensionsConfigurationVersion>
<EFCoreVersion>11.0.0-preview.5.26227.124</EFCoreVersion>
<MicrosoftExtensionsVersion>11.0.0-preview.5.26227.124</MicrosoftExtensionsVersion>
<MicrosoftExtensionsConfigurationVersion>11.0.0-preview.5.26227.124</MicrosoftExtensionsConfigurationVersion>
<NpgsqlVersion>10.0.0</NpgsqlVersion>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
7 changes: 0 additions & 7 deletions test/EFCore.PG.FunctionalTests/TransactionNpgsqlTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Loading