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.v19.2.dll
Declaration
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 in order to store WinForms and ASP.NET 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