private void Dispose(bool disposing)
        {
            if (!disposing)
            {
                return;
            }

            if (_dbCoreDataContext == null)
            {
                return;
            }

            _dbCoreDataContext.Dispose();
            _dbCoreDataContext = null;
        }
Example #2
0
 public void Dispose()
 {
     _context.Dispose();
 }