Skip to main content
.NET 6.0+
  • The page you are viewing does not exist in the .NET Framework 4.5.2+ platform documentation. This link will take you to the parent topic of the current section.

EFCoreObjectSpace.GetKeyPropertyName(Type) Method

Returns the name of a key property of the specified type.

Namespace: DevExpress.ExpressApp.EFCore

Assembly: DevExpress.ExpressApp.EFCore.v23.2.dll

NuGet Package: DevExpress.ExpressApp.EFCore

Declaration

public override string GetKeyPropertyName(
    Type objectType
)

Parameters

Name Type Description
objectType Type

A type whose key property name this method returns.

Returns

Type Description
String

A name of a key property of the specified type.

See Also