Пример #1
0
        private void CreateDataLoadInfo()
        {
            if (string.IsNullOrWhiteSpace(Description))
            {
                throw new Exception("The data load description (for the DataLoadInfo object) must not be empty, please provide a relevant description");
            }

            DataLoadInfo = _logManager.CreateDataLoadInfo(_loggingTask, typeof(DataLoadProcess).Name, Description, "", false);

            if (DataLoadInfo == null)
            {
                throw new Exception("DataLoadInfo is null");
            }

            JobID = DataLoadInfo.ID;
        }