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

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

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

            return(coll);
        }