示例#1
0
        public FacFacturaCollection FetchByQuery(Query qry)
        {
            FacFacturaCollection coll = new FacFacturaCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
示例#2
0
        public FacFacturaCollection FetchAll()
        {
            FacFacturaCollection coll = new FacFacturaCollection();
            Query qry = new Query(FacFactura.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
示例#3
0
        public FacFacturaCollection FetchByID(object IdFactura)
        {
            FacFacturaCollection coll = new FacFacturaCollection().Where("idFactura", IdFactura).Load();

            return(coll);
        }