This project is read-only.

How to represent a one-to-many relationship as a list property?

Aug 18, 2011 at 8:44 AM

Let's say we have table A and table B in the database. There exists a one-to-many relationship between the two, by way of a foreign key in table B referring to table A. Now, in the class corresponding to table A, how can I define a property returning a list of associated B objects? See also my question at StackOverflow.