| 12/23/2005 9:19:50 AM |
Howdy again Paul! Hope you have a nice holiday.
Quick question. I know you can give entities a default sort order in the mapping xml file. However, it would be nice this default sort order was also available on relations/properties. For example, in a customer object, I might want the customer's address property to sort by zipCode by default, but for the Employee class I might want its address property to sort by city.
something like:
<relation relationship="OneToMany" member="_addressCollection" field="employeeId" alias="AddressCollection" type="Address" lazyLoad="true" defaultSort="City ASC" />
Not a necessity since you can always query using a different sorty. Just a "Nice to have" to think about in a future version. |
| 1/8/2006 2:12:36 PM |
Pual, I'm going to second this, if you have time. I cant tell you how many times I have looked in the documation for this feature. I even have added the attribute thinking it was there a couple times. Thanx. |
| 4/11/2006 2:15:14 AM |
See latest news on the Subscriber Preview v4.2.2.1.
|