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

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

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

            return(coll);
        }