Compartilhar via


RuntimeModelConvention.GetKey(IKey, RuntimeEntityType) Método

Definição

Obtém a chave correspondente no modelo com otimização de leitura.

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

Parâmetros

key
IKey

A chave original.

entityType
RuntimeEntityType

O tipo de entidade de declaração.

Retornos

A chave com otimização de leitura correspondente.

Aplica-se a