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

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

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