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); }
public DDPawnTicketCollection FetchByID(object TicketID) { DDPawnTicketCollection coll = new DDPawnTicketCollection().Where("TicketID", TicketID).Load(); return(coll); }