From 509e5d02b2002b76ba78cef5956673a7d5801fcf Mon Sep 17 00:00:00 2001 From: Arthur Vickers Date: Wed, 6 Jul 2022 18:29:23 +0100 Subject: [PATCH] Remove quirks. --- .../Storage/Internal/RawRelationalParameter.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/EFCore.Relational/Storage/Internal/RawRelationalParameter.cs b/src/EFCore.Relational/Storage/Internal/RawRelationalParameter.cs index 7914edf8896..f01e0d3d26e 100644 --- a/src/EFCore.Relational/Storage/Internal/RawRelationalParameter.cs +++ b/src/EFCore.Relational/Storage/Internal/RawRelationalParameter.cs @@ -52,8 +52,7 @@ public override void AddDbParameter(DbCommand command, object? value) if (value is DbParameter dbParameter) { - if (!(AppContext.TryGetSwitch("Microsoft.EntityFrameworkCore.Issue27427", out var enabled) && enabled) - && command.Parameters.Contains(dbParameter.ParameterName)) + if (command.Parameters.Contains(dbParameter.ParameterName)) { return; }