public PnMotivoDCollection FetchByQuery(Query qry) { PnMotivoDCollection coll = new PnMotivoDCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnMotivoDCollection FetchAll() { PnMotivoDCollection coll = new PnMotivoDCollection(); Query qry = new Query(PnMotivoD.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnMotivoDCollection FetchByID(object IdMotivoD) { PnMotivoDCollection coll = new PnMotivoDCollection().Where("id_motivo_d", IdMotivoD).Load(); return(coll); }