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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #3
0
        public DDeviceDataControlCollection FetchByID(object Id)
        {
            DDeviceDataControlCollection coll = new DDeviceDataControlCollection().Where("ID", Id).Load();

            return(coll);
        }