Пример #1
0
        public PnArbolCollection FetchByQuery(Query qry)
        {
            PnArbolCollection coll = new PnArbolCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public PnArbolCollection FetchAll()
        {
            PnArbolCollection coll = new PnArbolCollection();
            Query             qry  = new Query(PnArbol.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #3
0
        public PnArbolCollection FetchByID(object IdNodo)
        {
            PnArbolCollection coll = new PnArbolCollection().Where("id_nodo", IdNodo).Load();

            return(coll);
        }