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