public SysPrintColorCollection FetchByQuery(Query qry) { var coll = new SysPrintColorCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysPrintColorCollection FetchAll() { var coll = new SysPrintColorCollection(); var qry = new Query(SysPrintColor.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }