EntityTypeExtensions.FindNavigation 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
FindNavigation(IEntityType, MemberInfo) |
Obtient une propriété de navigation sur le type d’entité donné. Retourne |
FindNavigation(IEntityType, PropertyInfo) |
Obtient une propriété de navigation sur le type d’entité donné. Retourne null si aucune propriété de navigation n’est trouvée. |
FindNavigation(IEntityType, String) |
Obtient une propriété de navigation sur le type d’entité donné. Retourne |
FindNavigation(IEntityType, MemberInfo)
Obtient une propriété de navigation sur le type d’entité donné. Retourne null
si aucune propriété de navigation n’est trouvée.
public static Microsoft.EntityFrameworkCore.Metadata.INavigation FindNavigation (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, System.Reflection.MemberInfo memberInfo);
static member FindNavigation : Microsoft.EntityFrameworkCore.Metadata.IEntityType * System.Reflection.MemberInfo -> Microsoft.EntityFrameworkCore.Metadata.INavigation
<Extension()>
Public Function FindNavigation (entityType As IEntityType, memberInfo As MemberInfo) As INavigation
Paramètres
- entityType
- IEntityType
Type d'entité.
- memberInfo
- MemberInfo
Propriété de navigation sur la classe d’entité.
Retours
Propriété de navigation, ou null
si aucune n’est trouvée.
S’applique à
FindNavigation(IEntityType, PropertyInfo)
Obtient une propriété de navigation sur le type d’entité donné. Retourne null si aucune propriété de navigation n’est trouvée.
public static Microsoft.EntityFrameworkCore.Metadata.INavigation FindNavigation (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, System.Reflection.PropertyInfo propertyInfo);
static member FindNavigation : Microsoft.EntityFrameworkCore.Metadata.IEntityType * System.Reflection.PropertyInfo -> Microsoft.EntityFrameworkCore.Metadata.INavigation
<Extension()>
Public Function FindNavigation (entityType As IEntityType, propertyInfo As PropertyInfo) As INavigation
Paramètres
- entityType
- IEntityType
Type d’entité sur lequel rechercher la propriété de navigation.
- propertyInfo
- PropertyInfo
Propriété de navigation sur la classe d’entité.
Retours
Propriété de navigation, ou null si aucune n’est trouvée.
S’applique à
FindNavigation(IEntityType, String)
Obtient une propriété de navigation sur le type d’entité donné. Retourne null
si aucune propriété de navigation n’est trouvée.
public static Microsoft.EntityFrameworkCore.Metadata.INavigation FindNavigation (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, string name);
static member FindNavigation : Microsoft.EntityFrameworkCore.Metadata.IEntityType * string -> Microsoft.EntityFrameworkCore.Metadata.INavigation
<Extension()>
Public Function FindNavigation (entityType As IEntityType, name As String) As INavigation
Paramètres
- entityType
- IEntityType
Type d'entité.
- name
- String
Nom de la propriété de navigation sur la classe d’entité.
Retours
Propriété de navigation, ou null
si aucune n’est trouvée.