Exemple #1
0
        public FacPreFacturaCollection FetchByQuery(Query qry)
        {
            FacPreFacturaCollection coll = new FacPreFacturaCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #2
0
        public FacPreFacturaCollection FetchAll()
        {
            FacPreFacturaCollection coll = new FacPreFacturaCollection();
            Query qry = new Query(FacPreFactura.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #3
0
        public FacPreFacturaCollection FetchByID(object IdPreFactura)
        {
            FacPreFacturaCollection coll = new FacPreFacturaCollection().Where("idPreFactura", IdPreFactura).Load();

            return(coll);
        }