Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ModelDifference.UserName Property

Gets the name of a user who owns the current ModelDifference object.

Namespace: DevExpress.Persistent.BaseImpl.EF

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

#Declaration

[NotMapped]
public string UserName { get; }
public string UserName { get; }

#Property Value

Type Description
String

A string which is the name of a user who owns the current model differences.

#Remarks

This property value is calculated from the ModelDifference.UserId. When the UserId is not specified and the current ModelDifference object specifies the model differences layer shared by all users (administrator model differences), then this property is set to “Shared Model Difference”. This text is loaded from the localizable value in the Application Model at Localization | Texts | SharedModelDifferenceName.

#Implements

See Also