Jazyk

AnnotatableBuilder<TMetadata,TModelBuilder>.IConventionAnnotatableBuilder.CanRemoveAnnotation Metoda

Definice

Vrátí hodnotu označující, zda lze pomocí tohoto zdroje konfigurace odebrat poznámku s daným názvem.

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

Parametry

name
String

Název poznámky, který chcete odebrat.

fromDataAnnotation
Boolean

Určuje, jestli byla konfigurace zadána pomocí datové poznámky.

Návraty

true pokud je možné poznámku odebrat, false jinak.

Implementuje

Atributy

Platí pro