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

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

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

            return(coll);
        }