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); }
public SysPrintColorCollection FetchByID(object Id) { SysPrintColorCollection coll = new SysPrintColorCollection().Where("ID", Id).Load(); return(coll); }