Sdílet prostřednictvím


ScaffoldingModelExtensions.IsHandledByDataAnnotations Metoda

Definice

Získá hodnotu označující, zda tento index může být zcela reperesent pomocí datové poznámky.

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

Parametry

index
IIndex

Index.

annotationCodeGenerator
IAnnotationCodeGenerator

Generátor kódu poznámek poskytovatele.

Návraty

true pokud je možné tento index opakovat pomocí datové poznámky.

Platí pro