RuntimeModelConvention.GetKey(IKey, RuntimeEntityType) 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.
Obtient la clé correspondante dans le modèle optimisé en lecture.
protected virtual Microsoft.EntityFrameworkCore.Metadata.RuntimeKey GetKey(Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType entityType);
abstract member GetKey : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType -> Microsoft.EntityFrameworkCore.Metadata.RuntimeKey
override this.GetKey : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType -> Microsoft.EntityFrameworkCore.Metadata.RuntimeKey
Protected Overridable Function GetKey (key As IKey, entityType As RuntimeEntityType) As RuntimeKey
Paramètres
- key
- IKey
Clé d’origine.
- entityType
- RuntimeEntityType
Type d'entité de déclaration.
Retours
Clé optimisée en lecture correspondante.