Example #1
0
 public override void BuildParameters(DataRow row, DataObjectStore store, IList <ParameterProfile> paramInfos)
 {
     this.dataHandler.Parameters.Clear();
     this.dataHandler.ClearParameterNames();
     this.modifiedParametersDescription = MonadSaveTask.BuildParametersDescription(row, paramInfos);
     this.dataHandler.CommandText       = MonadPipelineSaveTask.BuildCommandScript(this.originalCommandText, row, paramInfos);
 }
Example #2
0
 public override void BuildParameters(DataRow row, DataObjectStore store, IList <ParameterProfile> paramInfos)
 {
     foreach (DataHandler dataHandler in this.dataHandler.DataHandlers)
     {
         SingleTaskDataHandler singleTaskDataHandler = (SingleTaskDataHandler)dataHandler;
         foreach (ParameterProfile parameterProfile in paramInfos)
         {
             singleTaskDataHandler.Parameters.Remove(parameterProfile.Name);
         }
         MonadSaveTask.BuildParametersCore(row, paramInfos, singleTaskDataHandler.Parameters);
     }
     this.modifiedParametersDescription = MonadSaveTask.BuildParametersDescription(row, paramInfos);
 }
Example #3
0
        private void UpdateWorkUnitsInfo(DataRow row)
        {
            DataRow dataRow = this.PrepareCombineRow(row);

            foreach (KeyValuePair <DataRow, SingleTaskDataHandler> keyValuePair in this.permissionItems)
            {
                this.CopyPermission(dataRow, keyValuePair.Key);
                keyValuePair.Value.WorkUnit.Icon = this.GetDisplayIcon(dataRow);
                keyValuePair.Value.WorkUnit.Text = this.GetDisplayText(dataRow);
                if (this.paramInfos != null)
                {
                    keyValuePair.Value.WorkUnit.Description = MonadSaveTask.BuildParametersDescription(dataRow, this.paramInfos);
                }
            }
        }