FriendlyKeyPropertyAttribute.FindFriendlyKeyMemberName(ITypeInfo, Boolean) Method
In This Article
Returns the name of the persistent property which the system uses as an identifier-like property for a specific type.
Namespace: DevExpress.Persistent.Base
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
type |
IType |
An IType |
recursive | Boolean | true, to take into account inherited Friendly |
#Returns
Type | Description |
---|---|
String | A string holding the name of the persistent property which the system uses as an identifier-like property for a specific type. |
#Remarks
If the FriendlyKeyPropertyAttribute is not applied to a class or its ancestors, the FindFriendlyKeyMemberName method returns null (Nothing in VB).
See Also