Exemple #1
0
        public PGenuCollection FetchByQuery(Query qry)
        {
            PGenuCollection coll = new PGenuCollection();

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

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

            return(coll);
        }