Skip to main content
.NET 8.0+

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

IModelDifference.ContextId Property

Specifies the context identifier of the current IModelDifference object that allows distinguishing model differences designed for different applications using the same database.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

string ContextId { get; set; }

#Property Value

Type Description
String

A string which is the context identifier.

#Remarks

For example, you can use the “Win” identifier for the WinForms application and “Web” - for ASP.NET Web Forms in order to store WinForms and ASP.NET Web Forms model differences separately. You can pass the contextId parameter to the ModelDifferenceDbStore constructor to specify the current context when setting up the database storage for model differences.

See Also