PC Review


Reply
Thread Tools Rate Thread

beginner's custom entity design question

 
 
JJ
Guest
Posts: n/a
 
      12th Feb 2007
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


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RE: Beginner's DB Design Question Klatuu Microsoft Access Getting Started 1 8th Jun 2009 03:56 PM
Entity Framework Design Question Kevin Blakeley Microsoft ADO .NET 0 5th Sep 2008 12:06 AM
Beginner design question Paul Microsoft C# .NET 2 20th Dec 2005 02:47 PM
Design Question About Passing Entity Objects Arsen Vladimirskiy Microsoft Dot NET Framework 11 16th Dec 2003 03:45 PM
Design Question About Passing Entity Objects Arsen Vladimirskiy Microsoft C# .NET 11 16th Dec 2003 03:45 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:06 AM.