This question is locked. New answers and comments are not allowed.
Hi,
I was wondering if there is a way to specify the ordering of list elements when defining a one-to-many association using the Fluent API?
For example - an equivalent of the following which can be specified in the config file mapping.
Thanks
John
I was wondering if there is a way to specify the ordering of list elements when defining a one-to-many association using the Fluent API?
For example - an equivalent of the following which can be specified in the config file mapping.
Thanks
John
<
field
name
=
"studentList"
>
<
collection
>
<!-- ItemType is Student -->
<
extension
key
=
"ordering"
value
=
"addr.city ascending, addr.street ascending"
/>
</
collection
>
</
field
>