IAnnotationCodeGenerator.IsHandledByConvention Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| Nom | Description |
|---|---|
| IsHandledByConvention(IProperty, IAnnotation) |
Vérifie si l’élément donné IAnnotation est géré par convention lorsqu’il est appliqué à l’élément donné IProperty. |
| IsHandledByConvention(IModel, IAnnotation) |
Vérifie si l’élément donné IAnnotation est géré par convention lorsqu’il est appliqué à l’élément donné IModel. |
| IsHandledByConvention(IKey, IAnnotation) |
Vérifie si l’élément donné IAnnotation est géré par convention lorsqu’il est appliqué à l’élément donné IKey. |
| IsHandledByConvention(IIndex, IAnnotation) |
Vérifie si l’élément donné IAnnotation est géré par convention lorsqu’il est appliqué à l’élément donné IIndex. |
| IsHandledByConvention(IForeignKey, IAnnotation) |
Vérifie si l’élément donné IAnnotation est géré par convention lorsqu’il est appliqué à l’élément donné IForeignKey. |
| IsHandledByConvention(IEntityType, IAnnotation) |
Vérifie si l’élément donné IAnnotation est géré par convention lorsqu’il est appliqué à l’élément donné IEntityType. |
IsHandledByConvention(IProperty, IAnnotation)
Vérifie si l’élément donné IAnnotation est géré par convention lorsqu’il est appliqué à l’élément donné IProperty.
public bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Public Function IsHandledByConvention (property As IProperty, annotation As IAnnotation) As Boolean
Paramètres
- annotation
- IAnnotation
Le IAnnotation.
Retours
S’applique à
IsHandledByConvention(IModel, IAnnotation)
Vérifie si l’élément donné IAnnotation est géré par convention lorsqu’il est appliqué à l’élément donné IModel.
public bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Public Function IsHandledByConvention (model As IModel, annotation As IAnnotation) As Boolean
Paramètres
- annotation
- IAnnotation
Le IAnnotation.
Retours
True si l’annotation est gérée par convention ; false si le code doit être généré.
S’applique à
IsHandledByConvention(IKey, IAnnotation)
Vérifie si l’élément donné IAnnotation est géré par convention lorsqu’il est appliqué à l’élément donné IKey.
public bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Public Function IsHandledByConvention (key As IKey, annotation As IAnnotation) As Boolean
Paramètres
- annotation
- IAnnotation
Le IAnnotation.
Retours
S’applique à
IsHandledByConvention(IIndex, IAnnotation)
Vérifie si l’élément donné IAnnotation est géré par convention lorsqu’il est appliqué à l’élément donné IIndex.
public bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Public Function IsHandledByConvention (index As IIndex, annotation As IAnnotation) As Boolean
Paramètres
- annotation
- IAnnotation
Le IAnnotation.
Retours
S’applique à
IsHandledByConvention(IForeignKey, IAnnotation)
Vérifie si l’élément donné IAnnotation est géré par convention lorsqu’il est appliqué à l’élément donné IForeignKey.
public bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Public Function IsHandledByConvention (foreignKey As IForeignKey, annotation As IAnnotation) As Boolean
Paramètres
- foreignKey
- IForeignKey
Le IForeignKey.
- annotation
- IAnnotation
Le IAnnotation.
Retours
S’applique à
IsHandledByConvention(IEntityType, IAnnotation)
Vérifie si l’élément donné IAnnotation est géré par convention lorsqu’il est appliqué à l’élément donné IEntityType.
public bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Public Function IsHandledByConvention (entityType As IEntityType, annotation As IAnnotation) As Boolean
Paramètres
- entityType
- IEntityType
Le IEntityType.
- annotation
- IAnnotation
Le IAnnotation.
Retours
True si l’annotation est gérée par convention ; false si le code doit être généré.