I
Ivan Weiss
Hi. This is a question I have posted before and have never figured out
a working result. I have been recommended to read some books which I
did which still have not answered my question.
I am writing an application for my office for project management. I
have several classes, one for an employee object, a vendor object, and a
customer object. I want to make an employees, vendors, and customers
object which will contain all or several records from a database for
each class.
For example, I want one datagrid to list all of my customers. I want to
create a customers class which contains all of the customers the
database and than returns the result as one object.
How can I do this following OOP? Or, am I going about it all wrong?
Thanks in advance!
-Ivan
a working result. I have been recommended to read some books which I
did which still have not answered my question.
I am writing an application for my office for project management. I
have several classes, one for an employee object, a vendor object, and a
customer object. I want to make an employees, vendors, and customers
object which will contain all or several records from a database for
each class.
For example, I want one datagrid to list all of my customers. I want to
create a customers class which contains all of the customers the
database and than returns the result as one object.
How can I do this following OOP? Or, am I going about it all wrong?
Thanks in advance!
-Ivan