Lenguaje

RelationalKeyDiscoveryConvention.DiscoverKeyProperties Método

Definición

Devuelve las propiedades que se deben usar para la clave principal.

protected override System.Collections.Generic.List<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty>? DiscoverKeyProperties(Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
override this.DiscoverKeyProperties : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> System.Collections.Generic.List<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty>
Protected Overrides Function DiscoverKeyProperties (entityType As IConventionEntityType) As List(Of IConventionProperty)

Parámetros

entityType
IConventionEntityType

El tipo de entidad.

Devoluciones

Propiedades que se deben usar para la clave principal.

Se aplica a