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