Identity properties

M

mabster

Hi gang,

I notice that some of the entities defined in your custom schema samples
have properties obviously carried over from the original database
schema, like OrderID or ProductID.

Is this the way to go if I'm designing a custom schema? It seems wrong
somehow. Shouldn't I be using Links to associate items, rather than
relying on ID properties?

Which leads on to my second question: How do I do one-to-many relations?
For example, if I had a Customer item and a bunch of Order items, do I
have a property in my Customer of type StorageSearcher<Order>, and a
property on my Order of type Customer? Or is there a way to declare
Links and/or Associations so that they define a one-to-many relationship?

Thanks,
Matt
 

My Computer

Top