Author: asppick | Posted on: 9/3/2009 1:21:54 PM | Views : 328

HI,

I am working on project which is based on Business Entity model. We are creating a class file for each table and then returning Generic lists to
aspx page.

For example:

Customer Table (I created a class for this Public Class Customers ..)
CustomerID
CustomerName
CustomerAddress


Items Table (I created a class for this Public Class Items ..)
ItemID
ItemName
ItemCode

Orders Table
OrderID
OrderNumber
CustomerID
ItemID

I am thinking how to create a class for Orders Table, becuase it represents columns from other two tables and also while displaying Orders on page,
we don't display CustomerID and ItemID, but we should disply CustomerName and ItemName/ItemCode.
Can anyone help me to design Orders table?
...

Go to the complete details ...