0
kicks
Dynamic Lambda Expression For Sorting A List / Collection Using Comple
In my previous post we discussed on sorting the list / collection using dynamic lambda expression for properties. In this article we will see how to sort on complex properties.
So what is a complex property. Consider the class diagram as shown below
In our scenario, we have “Employee” entity, where we have a property “Department” which is a complex type. Now let us assume that we are binding the list of employees list along with the department name, then we will have to use item template along with “Bind” method called.