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.v24.1.dll


public virtual string DisplayName { get; }
public string DisplayName { get; }

Property Value

Type Description

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


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.


See Also