Freigeben über


RuntimeModelConvention.GetKey(IKey, RuntimeEntityType) Methode

Definition

Ruft den entsprechenden Schlüssel im leseoptimierten Modell ab.

protected virtual Microsoft.EntityFrameworkCore.Metadata.RuntimeKey GetKey (Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType entityType);
abstract member GetKey : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType -> Microsoft.EntityFrameworkCore.Metadata.RuntimeKey
override this.GetKey : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType -> Microsoft.EntityFrameworkCore.Metadata.RuntimeKey
Protected Overridable Function GetKey (key As IKey, entityType As RuntimeEntityType) As RuntimeKey

Parameter

key
IKey

Der ursprüngliche Schlüssel.

entityType
RuntimeEntityType

Der deklarierende Entitätstyp.

Gibt zurück

Der entsprechende leseoptimierte Schlüssel.

Gilt für: