コード例 #1
0
 public static async Task ClassCleanupAsync()
 {
     foreach (StationType s in stationTypes)
     {
         await stationTypeDao.DeleteAsync(s.StationTypeId);
     }
 }
コード例 #2
0
        public static async Task ClassCleanupAsync()
        {
            foreach (var m in measurements)
            {
                await measurementDao.DeleteAsync(m.MeasurementId);
            }

            await unitDao.DeleteAsync(34);

            await measurementTypeDao.DeleteAsync(43);

            await stationDao.DeleteAsync(32);

            await stationTypeDao.DeleteAsync(83);

            await addressDao.DeleteAsync(93);

            await communityDao.DeleteAsync(74);

            await districtDao.DeleteAsync(54);

            await provinceDao.DeleteAsync(66);

            await countryDao.DeleteAsync(33);

            await userDao.DeleteAsync(23);
        }
コード例 #3
0
        public static async Task ClassCleanupAsync()
        {
            await stationDao.DeleteAsync(1);

            await stationTypeDao.DeleteAsync(1);

            await addressDao.DeleteAsync(6);

            await communityDao.DeleteAsync(6);

            await districtDao.DeleteAsync(6);

            await provinceDao.DeleteAsync(6);

            await countryDao.DeleteAsync(9);

            await userDao.DeleteAsync(1);
        }