IConventionAnnotatableBuilder.RemoveAnnotation(String, Boolean) Método

Definición

Precaución

Use HasNoAnnotation

Quita la anotación con el nombre especificado de este objeto.

public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionAnnotatableBuilder RemoveAnnotation (string name, bool fromDataAnnotation = false);
[System.Obsolete("Use HasNoAnnotation")]
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionAnnotatableBuilder RemoveAnnotation (string name, bool fromDataAnnotation = false);
[System.Obsolete("Use HasNoAnnotation")]
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionAnnotatableBuilder? RemoveAnnotation (string name, bool fromDataAnnotation = false);
abstract member RemoveAnnotation : string * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionAnnotatableBuilder
[<System.Obsolete("Use HasNoAnnotation")>]
abstract member RemoveAnnotation : string * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionAnnotatableBuilder
override this.RemoveAnnotation : string * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionAnnotatableBuilder
Public Function RemoveAnnotation (name As String, Optional fromDataAnnotation As Boolean = false) As IConventionAnnotatableBuilder
Public Overridable Function RemoveAnnotation (name As String, Optional fromDataAnnotation As Boolean = false) As IConventionAnnotatableBuilder

Parámetros

name
String

Nombre de la anotación que se va a quitar.

fromDataAnnotation
Boolean

Indica si la configuración se especificó mediante una anotación de datos.

Devoluciones

para IConventionAnnotatableBuilder continuar con la configuración si se estableció la anotación; de lo contrario, null .

Atributos

Se aplica a