Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
  • The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.

ModelDifference.ContextId Property

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

Namespace: DevExpress.Persistent.BaseImpl.EF

Assembly: DevExpress.Persistent.BaseImpl.EF.v20.2.dll

Declaration

public 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 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.

Implements

See Also