Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MmBusinessProcess.GetCurrentDataSet()
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00993864
Message ID:
01185765
Views:
13
David and Darren,

>I am working with a business process. The business process has a private property,
>DataSet _currentDataSet, which is initialized to null and a public method called GetCurrentDataSet that returns a DataSet. I can't see any way, however, to populate the private property so that mmBusinessProcess.GetCurrentDataSet() ever returns anything other than null.
>
>Is the idea that I need to override GetCurrentDataSet() to return a DataSet field or private new DataSet _currentDataSet in my derived class?

Yes, the property is marked as virtual so it can be overridden. The idea is to allow someone to access the current DataSet associated with the business process. This could be a DataSet that is part of the business process itself or one of the participating object's DataSets, but you can override it to do whatever you want.

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
Next
Reply
Map
View

Click here to load this message in the networking platform