F
Frédéric Mayot
Hi,
In my web application, I need object-relational mapping. I would have liked
to take advantage of the datasets while keeping encapsulation of the data. I
thought about having a protected dataset attribute in my business objects
classes and creating properties to access each column. Thus, I will be able
to update and insert data without writing SQL code.
Do you see drawbacks to this approach ?
What if I decided to keep some business objects in session (the web
application won't be very stressed) ?
Thanks.
Fred
In my web application, I need object-relational mapping. I would have liked
to take advantage of the datasets while keeping encapsulation of the data. I
thought about having a protected dataset attribute in my business objects
classes and creating properties to access each column. Thus, I will be able
to update and insert data without writing SQL code.
Do you see drawbacks to this approach ?
What if I decided to keep some business objects in session (the web
application won't be very stressed) ?
Thanks.
Fred