public PnComprobanteCollection FetchByQuery(Query qry) { PnComprobanteCollection coll = new PnComprobanteCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnComprobanteCollection FetchAll() { PnComprobanteCollection coll = new PnComprobanteCollection(); Query qry = new Query(PnComprobante.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnComprobanteCollection FetchByID(object IdComprobante) { PnComprobanteCollection coll = new PnComprobanteCollection().Where("id_comprobante", IdComprobante).Load(); return(coll); }