Share via


ScaffoldingModelExtensions.IsHandledByDataAnnotations Méthode

Définition

Obtient une valeur indiquant si cet index peut être entièrement réperesté par une annotation de données.

public static bool IsHandledByDataAnnotations (this Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator annotationCodeGenerator);
static member IsHandledByDataAnnotations : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator -> bool
<Extension()>
Public Function IsHandledByDataAnnotations (index As IIndex, annotationCodeGenerator As IAnnotationCodeGenerator) As Boolean

Paramètres

index
IIndex

Index.

annotationCodeGenerator
IAnnotationCodeGenerator

Générateur de code d’annotation du fournisseur.

Retours

true si cet index peut être réperesté par une annotation de données.

S’applique à