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