public FacPreFacturaCollection FetchByQuery(Query qry) { FacPreFacturaCollection coll = new FacPreFacturaCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public FacPreFacturaCollection FetchAll() { FacPreFacturaCollection coll = new FacPreFacturaCollection(); Query qry = new Query(FacPreFactura.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public FacPreFacturaCollection FetchByID(object IdPreFactura) { FacPreFacturaCollection coll = new FacPreFacturaCollection().Where("idPreFactura", IdPreFactura).Load(); return(coll); }