Example #1
0
        public PsmDatoCollection FetchByQuery(Query qry)
        {
            PsmDatoCollection coll = new PsmDatoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public PsmDatoCollection FetchAll()
        {
            PsmDatoCollection coll = new PsmDatoCollection();
            Query             qry  = new Query(PsmDato.Schema);

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