Skip to main content
All docs
V26.1
  • EFCoreObjectSpace.GetKeyPropertyName(Type) Method

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

    Namespace: DevExpress.ExpressApp.EFCore

    Assembly: DevExpress.ExpressApp.EFCore.v26.1.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