private void CheckContextInitialized() { if(_isOpen == false || _isInitialized == false) { throw new Exception("Context not initialized"); } }