ManyValuedAssociation list in entity ordered

Hi,



I have an Entity (TChecklist) that has a ManyValuedAssociation (a Tlist<Tchecklistitem>) and I want them to be ordered. So the list of checklistitems belonging to a TChecklist should be ordered and not just randomly put in the Tlist.



How should I go about this? should I create a new TList descendant class that orders the way I want or can I set this using the mapping attributes somehow?



Hi,

 [OrderBy] attribute is your friend, as stated in documentation:

Great,

I knew there would be an easy way. Thanks for quick response!