Back to Devexpress

IModelDifference.ContextId Property

expressappframework-devexpress-dot-expressapp-dot-imodeldifference-7b01eb37.md

latest1.7 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
string ContextId { get; set; }
vb
Property ContextId As String

Property Value

TypeDescription
String

A string which is the context identifier.

|

Remarks

For example, you can use the “Win” identifier for the WinForms application in order to store WinForms 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

IModelDifference Interface

IModelDifference Members

DevExpress.ExpressApp Namespace