KeyExtensions.GetKeyType(IKey) Method

Definition

Returns the type of the key property for simple keys, or an object array for composite keys.

public static Type GetKeyType (this Microsoft.EntityFrameworkCore.Metadata.IKey key);
static member GetKeyType : Microsoft.EntityFrameworkCore.Metadata.IKey -> Type
<Extension()>
Public Function GetKeyType (key As IKey) As Type

Parameters

key
IKey

Key metadata.

Returns

The key type.

Applies to