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

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

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