Quantcast
Channel: entityframework Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1793

New Post: Adding support for ordred collections

$
0
0
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.

Viewing all articles
Browse latest Browse all 1793

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>