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; }