Class Mocosh.DatasetManager will help you by operation with class System.Data.DataSet. By means of only two methods you can fill and update DataSet any complexity, simply having specified the array from IDbDataAdapter.
During filling DataSet object with data from sources, the relations certain in DataSet object between tables are completely considered all. Tables are filled in the correct order that there was no violation of reference integrity of DataSet object.
You can easy change, insert and delete data in any tables of DataSet object. To write made changes in a database, to you simply enough to specify the array from IDbDataAdapter. Class Mocosh.DatasetManager itself will understand, in what order it is necessary to fulfil update to not break reference integrity of a database. Thus there is an analysis, what records have been inserted, what are updated, and what are remote.
Class Mocosh.DatasetManager does not access directly to databases and works exclusively with System.Data.DataSet object and any objects which realize interface System.Data.IDbDataAdapter. Therefore operation with any varieties of databases for which it is developed .NET DataAdapter object is supported.
During filling and upgrades are completely considered cyclic relations and relations of tables to.
Class Mocosh. DatasetManager will help you to accelerate considerably engineering process of the applications actively working with databases as you will not need to spend efforts and time for development and debugging of complex algorithms of filling and update of DataSet objects.
|