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