public static bool Release(string Auth) { bool v = false; OperatorAuthentication.AuthedAction(Auth, () => { if (ConfigurationData != null) { ConfigurationData.Dispose(); ConfigurationData = null; v = true; } }, false, true, PermissionID.ReleaseConfig, PermissionID.ModifyConfig); return(v); }
/// <summary> /// Dispose DataClient /// </summary> public void Dispose() { if (_configurationData != null) { _configurationData.Dispose(); ConfigurationData.Dispose(); } if (_transactionalData != null) { _transactionalData.Dispose(); TransactionalData.Dispose(); } if (_transientData != null) { _transientData.Dispose(); TransientData.Dispose(); } }