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); }