public Context GetContext() { if(_context == null) { _context = new Context(); } return _context; }
protected virtual void Dispose(bool disposing) { if (disposing) { if (_context != null) { _context.Dispose(); _context = null; } } }
public Context GetContext() { if(_context == null) { _context = new Context(); } return _context; }
protected virtual void Dispose(bool disposing) { if (disposing) { if (_context != null) { _context.Dispose(); _context = null; } } }