Saving Data

By default, the new business object also has the ability to save recordsets we modify, assuming they have a primary key field with the same name as the one we specified, and assuming there is a table in the dataset with the same name as our master entity (by default, this should be true).

To save a modified dataset, simply call the Save() method on the business object and pass along the dataset.

Note however, that saving data through the dataset is NOT the recommended way. Instead, editing and saving data is done through a business entity.

Link to HowToCreate_BusinessEntityObjects


Last Updated: 8/7/2006