Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. JorgeBgs

    Grouping data from two classes into one class

    Thanks guys, Yeah I think I'll go with Chip's idea which is the same as my number 1 option in my original post. That way I can have "CommentView" and "ReviewView" classes with read-only properties that pass through to the data classes. E.g. class CommentView { Comment _commentBody...
  2. JorgeBgs

    Grouping data from two classes into one class

    Hi thanks, I think I should illustrate my data structure better. Bare in mind though that this is just an example, and I'm not particularly concerned with the database side of things, I'm interested in how to fill the data into OO objects. OK, so I have three tables: User (UserId, Name...
  3. JorgeBgs

    Grouping data from two classes into one class

    This type of situation has always bothered me a bit. I am building a website in C# 2.0 where users can post reviews of things. Currently I have classes called User, Comment and Review. The Review class inherits from Comment because it is basically a specialized type of Comment. Now, when I am...

Part and Inventory Search

Back
Top