G
glenn
I have a customer class that contains all of my fields and properties
related to a single customer. I then have a dataaccess class that knows how
to read and write a customer class to and from the database.
However, I want to have my customer class be the one that actually calls
the data access class and have it pass itself as a reference to the data
access class. This would allow the data access class to just write the info
in the class to the database, or to fill the class with data from a query
saving the customer class from having to receive info and then parse it back
into its proper places.
Can anyone tell me how this could be done?
Thanks,
glenn
related to a single customer. I then have a dataaccess class that knows how
to read and write a customer class to and from the database.
However, I want to have my customer class be the one that actually calls
the data access class and have it pass itself as a reference to the data
access class. This would allow the data access class to just write the info
in the class to the database, or to fill the class with data from a query
saving the customer class from having to receive info and then parse it back
into its proper places.
Can anyone tell me how this could be done?
Thanks,
glenn