Data Driven Application Paradigm
In This Topic
In order to create a robust and well-manageable data driven application which uses ADO.NET DataExtender, we suggest the following application architecture:
- Create a typed dataset that represents the whole or a significant part of your database. Define business logic here by writing event handlers for the ColumnChanging/RowChanging/RowDeleting events of DataTables.
- Create a DataSetExtender that extends this typed dataset.
- Use C1DataViewSet components connected to the dataset and referencing its DataSetExtender to define the form's data model. Bind UI controls to C1DataView objects defined in this C1DataViewSet, and write event handlers for events represented by C1DataViewSet to provide custom processing of data navigation and changing specific for this Form.
- If you would like to use the same view set definition in multiple places of the application, or if you just want a more convenient strongly typed access to the view set object model then you may want to create a project level typed DataViewSet.
See Also