コード例 #1
0
        public PnCategoriaCollection FetchByQuery(Query qry)
        {
            PnCategoriaCollection coll = new PnCategoriaCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
        public PnCategoriaCollection FetchAll()
        {
            PnCategoriaCollection coll = new PnCategoriaCollection();
            Query qry = new Query(PnCategoria.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }