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