public FacFacturaCollection FetchByQuery(Query qry) { FacFacturaCollection coll = new FacFacturaCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public FacFacturaCollection FetchAll() { FacFacturaCollection coll = new FacFacturaCollection(); Query qry = new Query(FacFactura.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public FacFacturaCollection FetchByID(object IdFactura) { FacFacturaCollection coll = new FacFacturaCollection().Where("idFactura", IdFactura).Load(); return(coll); }