public PnEntregaCollection FetchByQuery(Query qry) { PnEntregaCollection coll = new PnEntregaCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnEntregaCollection FetchAll() { PnEntregaCollection coll = new PnEntregaCollection(); Query qry = new Query(PnEntrega.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnEntregaCollection FetchByID(object IdEntrega) { PnEntregaCollection coll = new PnEntregaCollection().Where("id_entrega", IdEntrega).Load(); return(coll); }