Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to find the number of rows updated
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01176622
Message ID:
01176748
Views:
6
Andrus,

>How to find the number of rows added,deleted and updated after calling
>mmBusinessObject.SaveDataSet() method ?
>
>This method does not return number of rows updated since its signature is
>
>
public virtual mmSaveDataResult SaveDataSet()
>
>How to get the number of rows affected returned by mmDataAccessBase.SaveDataSet() when mmBusinessObject.SaveDataSet() calls
>mmDataAccessBase.SaveDataSet() ?

If you are using a custom data access object, this information is returned from its SaveDataSet() method. Otherwise, this information is not easy to get at. Fortunately, you caught me right before I was uploading the final MM .NET 2.3 and I added a new RowsUpdatedOnSave property to mmBusinessObject. SaveDataSet() now stores the number of records. I've given you credit in the What's New Guide.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform