Ejemplo n.º 1
0
        public TamPapCollection FetchByQuery(Query qry)
        {
            TamPapCollection coll = new TamPapCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 2
0
        public TamPapCollection FetchAll()
        {
            TamPapCollection coll = new TamPapCollection();
            Query            qry  = new Query(TamPap.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 3
0
        public TamPapCollection FetchByID(object IdPap)
        {
            TamPapCollection coll = new TamPapCollection().Where("idPap", IdPap).Load();

            return(coll);
        }