beginner's custom entity design question

J

JJ

I've been reading a lot of articles about custom entity vs strongly typed
dataset and decided go with the custom entity model.

Just curious about how to design classes.
For the simplicity of argument, say I have three tables in the database,
Client, Code, Vendor. It's simple enough to create 3 classes with methods
(such as insert/delete etc) and public/private instance variables that
corresponds to the columns in the respective tables.

Now when you join different tables (say Client and related Code for this
Client), you have to create a class for this. And if you have many tables
that join different tables, there are a lot of classes that I need to
create. Is this how usually done to follow custom entity model?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,262
Messages
2,571,048
Members
48,769
Latest member
Clifft

Latest Threads

Top