KeyDiscoveryConvention.ProcessKeyProperties Metodo

Definizione

Aggiunge o rimuove le proprietà da usare per la chiave primaria.

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)

Parametri

keyProperties
IList<IConventionProperty>

Proprietà che verranno usate per configurare la chiave.

entityType
IConventionEntityType

Tipo di entità configurato.

Si applica a