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
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