expressappframework-devexpress-dot-expressapp-dot-createcustommodeldifferencestoreeventargs.md
Specifies a custom Application Model differences storage to be used by the application.
Namespace : DevExpress.ExpressApp
Assembly : DevExpress.ExpressApp.v25.2.dll
NuGet Package : DevExpress.ExpressApp
public ModelDifferenceStore Store { get; set; }
Public Property Store As ModelDifferenceStore
| Type | Description |
|---|---|
| ModelDifferenceStore |
A ModelDifferenceStore model differences storage.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the Store property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
private void Application_CreateCustomUserModelDifferenceStore(object sender, CreateCustomModelDifferenceStoreEventArgs e) {
e.Store = new ModelDifferenceDbStore((XafApplication)sender, typeof(ModelDifference), false, "Win");
e.Handled = true;
XAF_how-to-show-filter-dialog-before-listview/CS/E1554.Module.Win/WinModule.cs#L15
private void Application_CreateCustomModelDifferenceStore(Object sender, CreateCustomModelDifferenceStoreEventArgs e) {
e.Store = new ModelDifferenceDbStore((XafApplication)sender, typeof(ModelDifference), true);
e.Handled = true;
XAF_How-to-get-role-code-from-the-UI/CS/EFCore/GenerateRoleEF/GenerateRoleEF.Win/WinModule.cs#L23
private void Application_CreateCustomUserModelDifferenceStore(object sender, CreateCustomModelDifferenceStoreEventArgs e) {
e.Store = new ModelDifferenceDbStore((XafApplication)sender, typeof(ModelDifference), false, "Win");
e.Handled = true;
ArgumentNullException.ThrowIfNull(sender);
e.Store = new ModelDifferenceDbStore((XafApplication)sender, typeof(ModelDifference), false, "Blazor");
e.Handled = true;
private void Application_CreateCustomUserModelDifferenceStore(object sender, CreateCustomModelDifferenceStoreEventArgs e) {
e.Store = new ModelDifferenceDbStore((XafApplication)sender, typeof(ModelDifference), false, "Win");
e.Handled = true;
XAF_how-to-show-filter-dialog-before-listview/VB/E1554.Module.Win/WinModule.vb#L17
Private Sub Application_CreateCustomModelDifferenceStore(ByVal sender As Object, ByVal e As CreateCustomModelDifferenceStoreEventArgs)
e.Store = New ModelDifferenceDbStore(DirectCast(sender, XafApplication), GetType(ModelDifference), True)
e.Handled = True
Private Sub Application_CreateCustomUserModelDifferenceStore(ByVal sender As Object, ByVal e As CreateCustomModelDifferenceStoreEventArgs)
e.Store = New ModelDifferenceDbStore(DirectCast(sender, XafApplication), GetType(ModelDifference), False, "Web")
e.Handled = True
XAF_Non-Persistent-Objects-Filtering-Demo/VB/NonPersistentObjectsDemo.Module.Win/WinModule.vb#L28
Private Sub Application_CreateCustomUserModelDifferenceStore(ByVal sender As Object, ByVal e As CreateCustomModelDifferenceStoreEventArgs)
e.Store = New ModelDifferenceDbStore(DirectCast(sender, XafApplication), GetType(ModelDifference), False, "Win")
e.Handled = True
XAF_Non-Persistent-Objects-Reloading-Demo/VB/NonPersistentObjectsDemo.Module.Web/WebModule.vb#L28
Private Sub Application_CreateCustomUserModelDifferenceStore(ByVal sender As Object, ByVal e As CreateCustomModelDifferenceStoreEventArgs)
e.Store = New ModelDifferenceDbStore(DirectCast(sender, XafApplication), GetType(ModelDifference), False, "Web")
e.Handled = True
Private Sub Application_CreateCustomUserModelDifferenceStore(ByVal sender As Object, ByVal e As CreateCustomModelDifferenceStoreEventArgs)
e.Store = New ModelDifferenceDbStore(DirectCast(sender, XafApplication), GetType(ModelDifference), False, "Web")
e.Handled = True
See Also
CreateCustomModelDifferenceStoreEventArgs Class