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

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

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

            return(coll);
        }