I know this sound like a question from a newcomer - and that's probably
because it is.
Is there any way to use a sql function in an orderby clause in NHibernate?
Let's say I want to order a query result set by result of some built-in SQL
function or my stored procedure? Something like following:
var items = session.QueryOver<CartItem>(c => c.Price > 200).OrderBy("exec
dbo.MyCustomLogic").ToList();
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/groups/opt_out.