Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MmBusinessProcess.GetCurrentDataSet()
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00993864
Message ID:
01185765
Vues:
14
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform