示例#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);
        }