What is that orderCriteria thing? can extract a full segment?

On Sep 7, 9:41 pm, Gauthier Segay <[EMAIL PROTECTED]> wrote:
> You must add alias to the joined table:
>
> class Order{Customer Customer {get;}}
> class Customer{string Name {get;}}
>
> orderCriteria.AddAlias("Customer","c").AddOrder("c.Name")
>
> On 7 sep, 14:06, goodwill <[EMAIL PROTECTED]> wrote:
>
> > As title, like if I want to sort staff records by department name with
> > certain staffs joining after a date.
>
> > If I write Order.Asc("Dept.Name") it just won't work.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to