private void OnErrorLogBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
        {
            _currentErrorLog = uxErrorLogBindingSource.Current as Entities.ErrorLog;

            if (_currentErrorLog != null)
            {
                _currentErrorLog.Validate();
            }
            //_ErrorLog.Validate();
            OnCurrentEntityChanged();
        }
Example #2
0
 public Entities.ErrorLog GetOrInsErrorLog(Entities.ErrorLog errorLog)
 {
     _command.ActiveUser = ActiveUser;
     return(_command.GetOrInsErrorLog(errorLog));
 }
		private void OnErrorLogBindingSourceCurrentItemChanged(object sender, System.EventArgs e)
		{
			_currentErrorLog = uxErrorLogBindingSource.Current as Entities.ErrorLog;
			
			if (_currentErrorLog != null)
			{
				_currentErrorLog.Validate();
			}
			//_ErrorLog.Validate();
			OnCurrentEntityChanged();
		}