Hi All,
I am using the LLBLGenProDataSource bound to a TypedView class. I need to sort the values. I added event handler and have set LivePersistance to false.
protected void AvailableTeacherContexts_PerformSelect(object sender, SD.LLBLGen.Pro.ORMSupportClasses.PerformSelectEventArgs e)
{
e.Sorter.Add(new SortClause(Datalayer.HelperClasses.ViewTeacherContextFields.District,SortOperator.Descending ));
e.ContainedTypedView.Fill();
}
The event handler is called, but the query (as viewed in trace) does not have an order by clause. The results are not ordered either
I suspect stupid user error
, and would ask you to confirm and identify where i am going wrong.
(Using Jan 17, 2007 build version 2)