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

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

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

            return(coll);
        }