示例#1
0
        public void TearDown()
        {
            //Drop database and dispose context
            _dataContext.Database.Delete();
            _dataContext.Dispose();

            //Dispose service
            _cnsExplorationService.Dispose();
        }
示例#2
0
        public void TearDown()
        {
            //Drop database and dispose context
            _dataContext.Database.Delete();
            _dataContext.Dispose();

            //Dispose service
            _nbrSurveillanceService.Dispose();

            //Dispose support services
            _cnsExplorationService.Dispose();
            _analysisService.Dispose();
        }
示例#3
0
        public void TearDown()
        {
            //Drop database and dispose context
            _dataContext.Database.Delete();
            _dataContext.Dispose();

            //Dispose service
            _operationService.Dispose();

            //Dispose support services
            _userAccountService.Dispose();
            _cnsExplorationService.Dispose();
            _analysisService.Dispose();
            _nbrSurveillanceService.Dispose();
            _hypothermiaService.Dispose();
            _patientService.Dispose();
        }
 public override void Dispose()
 {
     _cnsExplorationService.Dispose();
     _analysisService.Dispose();
     base.Dispose();
 }