Condividi tramite


AnnotatableBuilder<TMetadata,TModelBuilder>.IConventionAnnotatableBuilder.HasNoAnnotation Metodo

Definizione

Rimuove l'annotazione con il nome specificato da questo oggetto.

[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionAnnotatableBuilder IConventionAnnotatableBuilder.HasNoAnnotation (string name, bool fromDataAnnotation);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionAnnotatableBuilder? IConventionAnnotatableBuilder.HasNoAnnotation (string name, bool fromDataAnnotation);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionAnnotatableBuilder.HasNoAnnotation : string * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionAnnotatableBuilder
override this.Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionAnnotatableBuilder.HasNoAnnotation : string * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionAnnotatableBuilder
Function HasNoAnnotation (name As String, fromDataAnnotation As Boolean) As IConventionAnnotatableBuilder Implements IConventionAnnotatableBuilder.HasNoAnnotation

Parametri

name
String

Nome dell'annotazione da rimuovere.

fromDataAnnotation
Boolean

Indica se la configurazione è stata specificata utilizzando un'annotazione dati.

Restituisce

Oggetto IConventionAnnotatableBuilder per continuare la configurazione se l'annotazione è stata impostata, null in caso contrario.

Implementazioni

Attributi

Si applica a