Otis wrote:
To elaborate a bit on why you can't create the relation in the designer: one side has to be a PK. In a relational model you can join any attribute with any other attribute, though in an entity world you're dealing with entity a relates to entity b, which means one side has to be an identifying part.
Most of our tables have a composite PK. FK tables then map to both these fields. As well some of the tables (ugh) don't have a formal PK/FK created (long story) as there are many orphans.
Recognizing that the data is not very clean and tiddy
, what is the recommended strategy in generating/extending/using code so in the end I can get the typical Customer.Orders.OrderDetails kind of relationship I get from, for example, the NorthWinds DB example? Custom Properties that return OrderCollections that the property figures out with Predicates?
Thanks again for a fantastic tool. Our first real project is significantly ahead of schedule since we estimated it based on using Datasets etc.
Ian