public ATaxClassCollection FetchByQuery(Query qry) { ATaxClassCollection coll = new ATaxClassCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ATaxClassCollection FetchAll() { ATaxClassCollection coll = new ATaxClassCollection(); Query qry = new Query(ATaxClass.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ATaxClassCollection FetchByID(object ClaRecID) { ATaxClassCollection coll = new ATaxClassCollection().Where("ClaRecID", ClaRecID).Load(); return(coll); }