GroupWiseMasterDailyLedger lt = ObjectSpace.Session.FindObject<<"GroupWiseMasterDailyLedger">>(CriteriaOperator.Parse(String.Format("Debit={0}",ObjectSpace.Session.Evaluate<<"GroupWiseMasterDailyLedger">>(CriteriaOperator.Parse("MAX(Debit)"), null))));
Here You Can Find Maximum Debit Object
And
int maxValue = int.Parse(Session.Evaluate(typeof(class), CriteriaOperator.Parse("Max(salary)")));
int maxValue = int.Parse(Session.Evaluate
(CriteriaOperator.Parse("Max(salary)")));
Note : Here donot Apply "" in GroupWiseMasterDailyLedger and also one lessthan and greater than Sign
No comments:
Post a Comment