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