Page Views and Presenters
- 3 minutes to read
This document lists pages included in the Data Source Wizard along with classes defining presenters and page views. Wizard pages listed in this document are divided into groups based on the corresponding wizard section.
Wizard’s Structural Elements
Structural elements of the Data Source Wizard conform to the MVP (model-view-presenter) pattern and are contained in the following namespaces.
Interfaces and classes providing the data source model functionality for the wizard are contained in the DevExpress.DataAccess.Wizard.Model namespace.
Interfaces identifying wizard page views are contained in the DevExpress.DataAccess.Wizard.Views namespace.
Default implementations of these interfaces are contained in the DevExpress.DataAccess.UI.Wizard.Views namespace.
Data Source Wizard page presenters are contained in the DevExpress.DataAccess.Wizard.Presenters namespace.
To learn about presenters and views corresponding to specific Data Source Wizard pages, see the following sections in this document.
|Wizard Page||Page Presenter||Page View Interface||Default Page View|
|Enter the Data Source Name||ChooseDataSourceNamePage<TModel>||IChooseDataSourceNamePageView||ChooseDataSourceNamePageView|
|Select the Data Connection Type||ChooseDataProviderPage<TModel>||IChooseDataProviderPageView||ChooseDataProviderPageView|
Connect to a Database
During Data Source Wizard execution, intermediate settings of the SQL data source are accumulated by the SqlDataSourceModel class.
Connect to an Entity Framework Data Source
During the Data Source Wizard execution, intermediate settings of the Entity Framework data source are accumulated by the EFDataSourceModel class.
Connect to an Object Data Source
During Data Source Wizard execution, intermediate settings of the object data source are accumulated by the ObjectDataSourceModel class.
Connect to an Excel Data Source
During Data Source Wizard execution, intermediate settings of the Excel data source are accumulated by the ExcelDataSourceModel class.