Example #1
0
        public void Dispose()
        {
            _db.Dispose();
            _db = null;

            //dbRms.Dispose();
            //dbRms = null;
        }
Example #2
0
        public void Dispose()
        {
            _db.Dispose();
            _db = null;

            //dbRms.Dispose();
            //dbRms = null;
        }
Example #3
0
        //protected Models.InfoRmsContext dbRms;

        public Text2TipServiceBase()
        {
            _logger = LogManager.GetLogger(GetType());
            _db     = new Text2TipEntities();
        }
Example #4
0
        //protected Models.InfoRmsContext dbRms;

        public Text2TipServiceBase()
        {
            _logger = LogManager.GetLogger(GetType());
            _db = new Text2TipEntities();
        }