KeyDiscoveryConvention.ProcessKeyProperties Método

Definição

Adiciona ou remove propriedades a serem usadas para a chave primária.

protected virtual void ProcessKeyProperties (System.Collections.Generic.IList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty> keyProperties, Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
abstract member ProcessKeyProperties : System.Collections.Generic.IList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty> * Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> unit
override this.ProcessKeyProperties : System.Collections.Generic.IList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty> * Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> unit
Protected Overridable Sub ProcessKeyProperties (keyProperties As IList(Of IConventionProperty), entityType As IConventionEntityType)

Parâmetros

keyProperties
IList<IConventionProperty>

As propriedades que serão usadas para configurar a chave.

entityType
IConventionEntityType

O tipo de entidade que está sendo configurado.

Aplica-se a