Skip to main content
.NET 6.0+

ModelDifferenceAspect.DisplayName Property

Gets the language code of the current ModelDifferenceAspect object, or the “(Default language)” text.

Namespace: DevExpress.Persistent.BaseImpl.EF

Assembly: DevExpress.Persistent.BaseImpl.EFCore.v23.2.dll

Declaration

[NotMapped]
public virtual string DisplayName { get; }
[NotMapped]
public string DisplayName { get; }

Property Value

Type Description
String

A string which specifies the name of the current model difference aspect, or “(Default language)” if the aspect name is empty (if the current aspect specifies culture-neutral model differences).

Remarks

If the IModelDifferenceAspect.Name value is not null or empty, the DisplayName property returns this value. Otherwise, the “(Default language)” text is returned. To localize this text, use the IModelLocalizationItem.Value property of the Localization | Texts | DefaultAspectText node in the Model Editor.

ModelDiffs_DefaultAspectText

See Also