public GeneralLibCollection FetchByQuery(Query qry) { GeneralLibCollection coll = new GeneralLibCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public GeneralLibCollection FetchAll() { GeneralLibCollection coll = new GeneralLibCollection(); Query qry = new Query(GeneralLib.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }