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