New Posts New Posts RSS Feed: Sorting NavigationProperties
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Sorting NavigationProperties

 Post Reply Post Reply
Author
Waahnsinn View Drop Down
Newbie
Newbie


Joined: 16-Apr-2010
Posts: 4
Post Options Post Options   Quote Waahnsinn Quote  Post ReplyReply Direct Link To This Post Topic: Sorting NavigationProperties
    Posted: 05-Sep-2010 at 11:45am
Hello!

I've got a question on sorting NavigationProperties.

Lets say I have a BusinessObject (Panel) which includes a NavigationProperty with the Name Tasks.
I'm binding this NavigationProperty to a SilverlightControl and I want to Display the Tasks sorted by one Property.

How can I do this?
PropertyInterceptors?

Thank You for your answer.

Rainer
Back to Top
ting View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 27-Mar-2009
Location: San Francisco
Posts: 427
Post Options Post Options   Quote ting Quote  Post ReplyReply Direct Link To This Post Posted: 07-Sep-2010 at 7:10pm
If you need to operate on the collection in the UI, you should put the entities into an ObservableCollection and then you can implement sort on the list.  This link talks about how to do this with an extension method or by subclassing.  Check out the June 3, 2010 post at the bottom:

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down