Język

KeyDiscoveryConvention.DiscoverKeyProperties Metoda

Definicja

Przeciążenia

Nazwisko Opis
DiscoverKeyProperties(IConventionEntityType)

Zwraca właściwości, które powinny być używane dla klucza podstawowego.

DiscoverKeyProperties(IConventionEntityType, IEnumerable<IConventionProperty>)

Zwraca właściwości, które powinny być używane dla klucza podstawowego.

DiscoverKeyProperties(IConventionEntityType)

Źródło:
KeyDiscoveryConvention.cs
Źródło:
KeyDiscoveryConvention.cs
Źródło:
KeyDiscoveryConvention.cs

Zwraca właściwości, które powinny być używane dla klucza podstawowego.

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)

Parametry

entityType
IConventionEntityType

Typ jednostki.

Zwraca

Właściwości, które powinny być używane dla klucza podstawowego.

Dotyczy

DiscoverKeyProperties(IConventionEntityType, IEnumerable<IConventionProperty>)

Źródło:
KeyDiscoveryConvention.cs
Źródło:
KeyDiscoveryConvention.cs
Źródło:
KeyDiscoveryConvention.cs
Źródło:
KeyDiscoveryConvention.cs
Źródło:
KeyDiscoveryConvention.cs
Źródło:
KeyDiscoveryConvention.cs
Źródło:
KeyDiscoveryConvention.cs
Źródło:
KeyDiscoveryConvention.cs
Źródło:
KeyDiscoveryConvention.cs

Zwraca właściwości, które powinny być używane dla klucza podstawowego.

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)

Parametry

entityType
IConventionEntityType

Typ jednostki.

candidateProperties
IEnumerable<IConventionProperty>

Właściwości do rozważenia.

Zwraca

Właściwości, które powinny być używane dla klucza podstawowego.

Dotyczy