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