次の方法で共有


EntityMetadata.PrimaryNameAttribute Property

Definition

Gets the name of the primary attribute for an entity.

public:
 property System::String ^ PrimaryNameAttribute { System::String ^ get(); };
[System.Runtime.Serialization.DataMember]
public string PrimaryNameAttribute { get; }
[<System.Runtime.Serialization.DataMember>]
member this.PrimaryNameAttribute : string
Public ReadOnly Property PrimaryNameAttribute As String

Property Value

The name of the primary attribute for an entity..

Attributes

Remarks

Each entity that contains records that can appear in the application will have a primary attribute. Each custom entity will have a primary attribute. The default name for the primary attribute is ‘name’ and this is the most common value for PrimaryNameAttribute. The value in the corresponding attribute is the value that will appear in a lookup attribute when that record is selected. Many entities do not appear in the application and do not have a value set for PrimaryNameAttribute.

Applies to