ModelDifference.ContextId Property
Specifies the context identifier of the current ModelDifference object that allows you to distinguish model differences designed for different applications using the same database.
Namespace: DevExpress.Persistent.BaseImpl
Assembly: DevExpress.Persistent.BaseImpl.Xpo.v25.2.dll
NuGet Package: DevExpress.Persistent.BaseImpl.Xpo
Declaration
Property Value
| Type | Description |
|---|---|
| String | A string which is the context identifier. |
Remarks
For example, use the “Win” identifier for a WinForms application and “Blazor” - for an ASP.NET Core Blazor application in order to store WinForms and ASP.NET Core Blazor 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.