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