protected override void ReadLastLogonParametersCore(DevExpress.ExpressApp.Utils.SettingsStorage storage, object logonObject) { //string databaseName = HttpContext.Current.Request.Params[WebChangeDatabaseController.DatabaseParameterName]; if (string.IsNullOrEmpty(((IDatabaseNameParameter)logonObject).DatabaseName)) { base.ReadLastLogonParametersCore(storage, logonObject); } }
protected override void ReadLastLogonParametersCore(DevExpress.ExpressApp.Utils.SettingsStorage storage, object logonObject) { AuthenticationStandardLogonParameters standardLogonParameters = logonObject as AuthenticationStandardLogonParameters; if ((standardLogonParameters != null) && string.IsNullOrEmpty(standardLogonParameters.UserName)) { base.ReadLastLogonParametersCore(storage, logonObject); } }
protected override void ReadLastLogonParametersCore(DevExpress.ExpressApp.Utils.SettingsStorage storage, object logonObject) { // TI AuthenticationStandardLogonParameters standardLogonParameters = logonObject as AuthenticationStandardLogonParameters; if ((standardLogonParameters != null) && string.IsNullOrEmpty(standardLogonParameters.UserName)) { base.ReadLastLogonParametersCore(storage, logonObject); } /*TI * //string databaseName = HttpContext.Current.Request.Params[WebChangeDatabaseController.DatabaseParameterName]; * if (string.IsNullOrEmpty(((IDatabaseNameParameter)logonObject).DatabaseName)) * { * base.ReadLastLogonParametersCore(storage, logonObject); * }*/ }