I have abstract class for each Business Object in my app (BO) Also have parent (generic) collection to store all BOs (named BOC - Business Object Collection)
What I would like to archive is created universal method iniside BOC similar to:
public T GetBusinessObject (lambda_criteria)
So I could call this method similar to:
Employee emp = BOC.GetBusinessObject( Employee.ID=123 )
And method shall return BO meet to specified lambda criteria
Any tips how to archive that?