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