public virtual void ReportSourceError(Guid sourceId, SourceErrorType errorType, string errorMessage)
 {
     var error = new SourceError
         {
             DataSourceId = sourceId,
             ErrorMessage = errorMessage,
             ErrorType = (SourceErrorTypeDAL)errorType
         };
     Context.AddSourceError(error);
 }
Beispiel #2
0
        public virtual void ReportSourceError(Guid sourceId, SourceErrorType errorType, string errorMessage)
        {
            var error = new SourceError
            {
                DataSourceId = sourceId,
                ErrorMessage = errorMessage,
                ErrorType    = (SourceErrorTypeDAL)errorType
            };

            Context.AddSourceError(error);
        }