Data Source Wizard Pages
- 4 minutes to read
This document lists pages included in the Data Source Wizard along with classes defining presenters and page views corresponding to WinForms implementation.
All these pages are also included in the Report Wizard. This topic lists custom implementations of these pages that are specific to the Report Wizard logic.
Wizard Structural Elements
The structural elements of the Data Source Wizard conform to the MVP (model-view-presenter) pattern and are set out in the following namespaces:
Models
The DevExpress.DataAccess.Wizard.Model namespace contains interfaces and classes providing the data source model functionality for the wizard.
Views
The DevExpress.DataAccess.Wizard.Views namespace contains interfaces identifying wizard page views.
The DevExpress.DataAccess.UI.Wizard.Views namespace contains default implementations of these interfaces.
Presenters
The DevExpress.DataAccess.Wizard.Presenters namespace contains Data Source Wizard page presenters.
The Report Wizard uses custom implementation for some of the presenters contained in the DevExpress.XtraReports.Wizards.Presenters namespace.
The following document sections describe presenters and views corresponding to specific Data Source Wizard pages as well as classes that store intermediate settings of a data source during wizard execution.
Start Page
Wizard Page | Page Presenter | Page View Interface | Page View |
---|---|---|---|
Select a Data Connection Type | ChooseDataProviderPage<TModel> | IChooseDataProviderPageView | ChooseDataProviderPageView |
Connect to a Database
The SqlDataSourceModel class stores intermediate settings of a SQL data source.
Wizard pages may vary depending on the wizard implementation your application uses.
The following wizard pages correspond to the default wizard implementation, which allows you to create multiple queries in one wizard run and create master-detail relationships at once:
Wizard Page
Page Presenter
Page View Interface
Page View
MultiQueryConfigurePage<TModel> (Data Source Wizard)
MultiQueryConfigureParametersPage<TModel> (Data Source Wizard)
The pages listed below correspond to the older wizard implementation where it is only possible to create a single query in one wizard run.
Wizard Page
Page Presenter
Page View Interface
Page View
ConfigureQueryPage<TModel> (Data Source Wizard)
ConfigureSqlParametersPage<TModel> (Data Source Wizard)
Connect to an Entity Framework Data Source
The EFDataSourceModel class stores intermediate settings of an Entity Framework data source.
Wizard Page | Page Presenter | Page View Interface | Page View |
---|---|---|---|
ChooseEFConnectionStringPage<TModel> (Data Source Wizard) | |||
ConfigureEFStoredProceduresPage<TModel> (Data Source Wizard) | |||
ChooseEFDataMemberPage<TModel> (Data Source Wizard) | |||
ConfigureEFFiltersPage<TModel> (Data Source Wizard) |
Connect to an Object Data Source
The ObjectDataSourceModel class stores intermediate settings of an object data source.
Wizard Page | Page Presenter | Page View Interface | Page View |
---|---|---|---|
ChooseObjectTypePage<TModel> (Data Source Wizard) | |||
ChooseObjectMemberPage<TModel> (Data Source Wizard) | |||
ObjectMemberParametersPage<TModel> (Data Source Wizard) | |||
ChooseObjectBindingModePage<TModel> (Data Source Wizard) | |||
ChooseObjectConstructorPage<TModel> (Data Source Wizard) | |||
ObjectConstructorParametersPage<TModel> (Data Source Wizard) |
Connect to an Excel Data Source
The ExcelDataSourceModel class stores intermediate settings of an Excel data source.
Wizard Page | Page Presenter | Page View Interface | Page View |
---|---|---|---|
ConfigureExcelFileColumnsPage<TModel> (Data Source Wizard) |
Connect to a JSON Data Source
The JsonDataSourceModel class stores intermediate settings of an XPO data source.
Wizard Page | Page Presenter | Page View Interface | Page View |
---|---|---|---|
ChooseJsonSchemaPage<TModel> (Data Source Wizard) |
Connect to an XPO Data Source
The XPObjectSourceModel class stores intermediate settings of an XPO data source.
Wizard Page | Page Presenter | Page View Interface | Page View |
---|---|---|---|
ChooseXPObjectSourceConnectionPage<TModel> (Data Source Wizard) ChooseXPObjectSourceConnectionPageEx<TModel> (Report Wizard) | |||
ConfigureXPObjectSourceConnectionPropertiesPage<TModel> (Data Source Wizard) ConfigureXPObjectSourceConnectionPropertiesPageEx<TModel> (Report Wizard) | |||
SaveXPObjectSourceConnectionPage<TModel> (Data Source Wizard) |