pmMDA.NET

DataObjectOrder.ToHqlString Method 

[This is preliminary documentation and subject to change.]

Returns an "order by" HQL string that can be used in NHibernate.

public string ToHqlString(
   string objName
);

Parameters

objName
The object name of the data objects.

Return Value

The "order by" part of a HQL query.

Remarks

Example of the returned string if objName is "item": order by item.m_field1 asc, item.m_field2 desc, item.m_id asc

See Also

DataObjectOrder Class | PmMda.Net.Dog.Sorting Namespace