Beispiel #1
0
        public void SetRecordDataPicker(string tableName, IRecordDataPicker picker)
        {
            ISupportRecordLog log = CurrentSource as ISupportRecordLog;

            if (log != null)
            {
                log.SetRecordDataPicker(tableName, picker);
            }
        }
Beispiel #2
0
        public void PrepareRecordLog(IInputData input, ISource source)
        {
            if (Module.RecordLogs == null)
            {
                return;
            }
            ISupportRecordLog recordLog = source as ISupportRecordLog;

            if (recordLog == null)
            {
                return;
            }

            foreach (var item in Module.RecordLogs)
            {
                var dataPicker = item.DataPicker.CreateObject(input);
                recordLog.SetRecordDataPicker(item.TableName, dataPicker);
            }
        }