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