Lenguaje

KeyDiscoveryConvention.DiscoverKeyProperties Método

Definición

Sobrecargas

Nombre Description
DiscoverKeyProperties(IConventionEntityType)

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

DiscoverKeyProperties(IConventionEntityType, IEnumerable<IConventionProperty>)

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

DiscoverKeyProperties(IConventionEntityType)

Source:
KeyDiscoveryConvention.cs
Source:
KeyDiscoveryConvention.cs
Source:
KeyDiscoveryConvention.cs

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

protected virtual System.Collections.Generic.List<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty>? DiscoverKeyProperties(Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
abstract member DiscoverKeyProperties : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> System.Collections.Generic.List<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty>
override this.DiscoverKeyProperties : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> System.Collections.Generic.List<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty>
Protected Overridable 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

DiscoverKeyProperties(IConventionEntityType, IEnumerable<IConventionProperty>)

Source:
KeyDiscoveryConvention.cs
Source:
KeyDiscoveryConvention.cs
Source:
KeyDiscoveryConvention.cs
Source:
KeyDiscoveryConvention.cs
Source:
KeyDiscoveryConvention.cs
Source:
KeyDiscoveryConvention.cs
Source:
KeyDiscoveryConvention.cs
Source:
KeyDiscoveryConvention.cs
Source:
KeyDiscoveryConvention.cs

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

public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty> DiscoverKeyProperties(Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty> candidateProperties);
static member DiscoverKeyProperties : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * seq<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty> -> seq<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty>
Public Shared Function DiscoverKeyProperties (entityType As IConventionEntityType, candidateProperties As IEnumerable(Of IConventionProperty)) As IEnumerable(Of IConventionProperty)

Parámetros

entityType
IConventionEntityType

El tipo de entidad.

candidateProperties
IEnumerable<IConventionProperty>

Propiedades que se deben tener en cuenta.

Devoluciones

Propiedades que se deben usar para la clave principal.

Se aplica a