CosmosEntityTypeExtensions.GetContainingPropertyName 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
GetContainingPropertyName(IEntityType) |
Retourne le nom de la propriété parente à laquelle le type d’entité est mappé. |
GetContainingPropertyName(IReadOnlyEntityType) |
Retourne le nom de la propriété parente à laquelle le type d’entité est mappé. |
GetContainingPropertyName(IEntityType)
Retourne le nom de la propriété parente à laquelle le type d’entité est mappé.
public static string GetContainingPropertyName (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member GetContainingPropertyName : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> string
<Extension()>
Public Function GetContainingPropertyName (entityType As IEntityType) As String
Paramètres
- entityType
- IEntityType
Type d’entité pour lequel obtenir le nom de propriété contenant.
Retours
Nom de la propriété parente à laquelle le type d’entité est mappé.
S’applique à
GetContainingPropertyName(IReadOnlyEntityType)
Retourne le nom de la propriété parente à laquelle le type d’entité est mappé.
public static string? GetContainingPropertyName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType);
static member GetContainingPropertyName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> string
<Extension()>
Public Function GetContainingPropertyName (entityType As IReadOnlyEntityType) As String
Paramètres
- entityType
- IReadOnlyEntityType
Type d’entité pour lequel obtenir le nom de propriété contenant.
Retours
Nom de la propriété parente à laquelle le type d’entité est mappé.