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