Information générale
Catégorie:
The Mere Mortals Framework
Titre:
Parm Values at Run Time for BizObjs
For Kevin or anyone...
I'm wondering how to best setup parameter values to be used during a business objects Requery() method.
My data environment is based on the cSQLPassThrough class and I'm assuming I would need to setup the actual "SELECT...WHERE ?" code in the GetSQLString method. The documentation states :
"Another option is to create wrapper methods on the business object for the Requery method. These wrapper methods can accept parameters, store the values to the business object properties, and then call the Requery method."
I like this approach. But what I'm not sure of, is when I get down to the GetSQLString method, if my parameter values are stored in business object properties, I need to reference them in the GetSQLString as :
this.parent.oparentobj.propertyname
Is this the best way?
TIA,
Anthony
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement