diff --git a/src/EFCore.Relational/Migrations/MigrationBuilder.cs b/src/EFCore.Relational/Migrations/MigrationBuilder.cs index 2c6644eef57..8561cf96b2f 100644 --- a/src/EFCore.Relational/Migrations/MigrationBuilder.cs +++ b/src/EFCore.Relational/Migrations/MigrationBuilder.cs @@ -695,14 +695,19 @@ public virtual OperationBuilder CreateSequence( } /// - /// Builds an to create a new check constraint. + /// + /// Warning, this API is obsolete. Use instead. + /// + /// + /// Builds an to create a new check constraint. + /// /// /// The check constraint name. /// The name of the table for the check constraint. /// The constraint sql for the check constraint. /// The schema that contains the check constraint, or to use the default schema. /// A builder to allow annotations to be added to the operation. - [Obsolete("Use AddCheckConstraint")] + [EditorBrowsable(EditorBrowsableState.Never)] public virtual OperationBuilder CreateCheckConstraint( [NotNull] string name, [NotNull] string table,