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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public PnOriCollection FetchAll()
        {
            PnOriCollection coll = new PnOriCollection();
            Query           qry  = new Query(PnOri.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 3
0
        public PnOriCollection FetchByID(object IdOri)
        {
            PnOriCollection coll = new PnOriCollection().Where("id_ori", IdOri).Load();

            return(coll);
        }