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