public SysPrintColorDetailCollection FetchByQuery(Query qry) { var coll = new SysPrintColorDetailCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysPrintColorDetailCollection FetchAll() { var coll = new SysPrintColorDetailCollection(); var qry = new Query(SysPrintColorDetail.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysPrintColorDetailCollection FetchByID(object Id) { SysPrintColorDetailCollection coll = new SysPrintColorDetailCollection().Where("ID", Id).Load(); return(coll); }