I would like to have support for ordering of one-to-many relations.
I would like to write a relation from a document entity to pages as:
public virtual IList<Page> Pages { get; set; }
where the Page entity would have a getter Index that would return its index (stored in a column in the page table). I should be able to change the order of the pages via the IList interface, and the new Index value should be up-to-date to reflect the cnahge, and the change should be persisted.
I would like to write a relation from a document entity to pages as:
public virtual IList<Page> Pages { get; set; }
where the Page entity would have a getter Index that would return its index (stored in a column in the page table). I should be able to change the order of the pages via the IList interface, and the new Index value should be up-to-date to reflect the cnahge, and the change should be persisted.