public TResultLotCollection FetchByQuery(Query qry) { TResultLotCollection coll = new TResultLotCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TResultLotCollection FetchAll() { TResultLotCollection coll = new TResultLotCollection(); Query qry = new Query(TResultLot.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TResultLotCollection FetchByID(object LotId) { TResultLotCollection coll = new TResultLotCollection().Where("LotId", LotId).Load(); return(coll); }