/// <summary> /// /// </summary> /// <param name="hasChildElements"></param> /// <returns></returns> protected override string SerializeCommandData(ref bool hasChildElements) { CommandSerializationHelper helper = new CommandSerializationHelper(); bool execStackExists = ExecutionStack != null && !ExecutionStack.empty(); helper.SerializeTaskTag(TaskTag); if (HandlerId != null && !execStackExists) { helper.SerializeAttribute(ConstInterface.MG_ATTR_HANDLERID, HandlerId); } if (OperIdx > Int32.MinValue && !execStackExists) { helper.SerializeAttribute(ConstInterface.MG_ATTR_OPER_IDX, OperIdx); } helper.SerializeDitIdx(DitIdx); if (Val != null) { helper.SerializeAttribute(XMLConstants.MG_ATTR_VALUE, XmlParser.escape(Val)); } if (CheckOnly) { helper.SerializeAttribute(ConstInterface.MG_ATTR_CHECK_ONLY, "1"); } return(helper.GetString()); }
/// <summary> /// /// </summary> /// <param name="hasChildElements"></param> /// <returns></returns> protected override string SerializeCommandData(ref bool hasChildElements) { CommandSerializationHelper helper = new CommandSerializationHelper(); helper.SerializeTaskTag(TaskTag); helper.SerializeAttribute(ConstInterface.MG_ATTR_PATH, TreePath); helper.SerializeAttribute(ConstInterface.MG_ATTR_VALUES, TreeValues); helper.SerializeAttribute(ConstInterface.MG_ATTR_TREE_IS_NULLS, TreeIsNulls); return(helper.GetString()); }
/// <summary> /// /// </summary> /// <param name="hasChildElements"></param> /// <returns></returns> protected override string SerializeCommandData(ref bool hasChildElements) { CommandSerializationHelper helper = new CommandSerializationHelper(); helper.SerializeTaskTag(TaskTag); helper.SerializeAttribute(ConstInterface.MG_ATTR_MNUUID, MenuUid); helper.SerializeAttribute(ConstInterface.MG_ATTR_MNUCOMP, MenuComp); //serialize menu path helper.SerializeAttribute(ConstInterface.MG_ATTR_MNUPATH, MenuPath); return(helper.GetString()); }
/// <summary> /// /// </summary> /// <param name="hasChildElements"></param> /// <returns></returns> protected override string SerializeCommandData(ref bool hasChildElements) { CommandSerializationHelper helper = new CommandSerializationHelper(); helper.SerializeTaskTag(TaskTag); helper.SerializeMagicEvent(MagicEvent); helper.SerializeAttribute(ConstInterface.MG_ATTR_GENERATION, Generation); helper.SerializeAttribute(ConstInterface.MG_ATTR_TASKVARLIST, TaskVarList); helper.SerializeAttribute(ConstInterface.MG_ATTR_OUTPUTTYPE, (char)OutputType); helper.SerializeAttribute(ConstInterface.MG_ATTR_DESTINATION_DATASOURCE, DestinationDataSourceNumber); helper.SerializeAttribute(ConstInterface.MG_ATTR_LIST_OF_INDEXES_OF_SELECTED_DESTINATION_FIELDS, ListOfIndexesOfSelectedDestinationFields); return(helper.GetString()); }
/// <summary> /// /// </summary> /// <param name="hasChildElements"></param> /// <returns></returns> protected override string SerializeCommandData(ref bool hasChildElements) { CommandSerializationHelper helper = new CommandSerializationHelper(); helper.SerializeTaskTag(TaskTag); helper.SerializeMagicEvent(MagicEvent); if (ExitByMenu) { helper.SerializeAttribute(ConstInterface.MG_ATTR_EXIT_BY_MENU, "1"); } helper.SerializeAttribute(ConstInterface.MG_ATTR_OBJECT, "1"); helper.SerializeCloseSubformOnly(CloseSubformOnly); return(helper.GetString()); }
/// <summary> /// /// </summary> /// <param name="hasChildElements"></param> /// <returns></returns> protected override string SerializeCommandData(ref bool hasChildElements) { CommandSerializationHelper helper = new CommandSerializationHelper(); helper.SerializeTaskTag(TaskTag); helper.SerializeMagicEvent(MagicEvent); helper.SerializeAttribute(ConstInterface.MG_ATTR_TASKVARLIST, TaskVarList); helper.SerializeAttribute(ConstInterface.MG_ATTR_DESTINATION_DATASOURCE, DestDataSource); if (!string.IsNullOrEmpty(DestDataSourceName)) { helper.SerializeAttribute(ConstInterface.MG_ATTR_DESTINATION_DATASOURCE_NAME, DestDataSourceName); } helper.SerializeAttribute(ConstInterface.MG_ATTR_DESTINATION_COLUMNLIST, DestColumnList); helper.SerializeAttribute(ConstInterface.MG_ATTR_SOURCE_DATAVIEW, DataViewContent); return(helper.GetString()); }
/// <summary> /// /// </summary> /// <param name="hasChildElements"></param> /// <returns></returns> protected override string SerializeCommandData(ref bool hasChildElements) { CommandSerializationHelper helper = new CommandSerializationHelper(); helper.SerializeAttribute(ConstInterface.MG_ATTR_SHOULD_PRE_PROCESS, "Y"); return(helper.GetString()); }
/// <summary> /// /// </summary> /// <param name="hasChildElements"></param> /// <returns></returns> protected override string SerializeCommandData(ref bool hasChildElements) { CommandSerializationHelper helper = new CommandSerializationHelper(); helper.SerializeTaskTag(TaskTag); helper.SerializeFldId(FldId); helper.SerializeMagicEvent(MagicEvent); helper.SerializeDitIdx(DitIdx); helper.SerializeAttribute(ConstInterface.MG_ATTR_SEARCH_STR, IncrmentalSearchString); if (ResetIncrementalSearch) { helper.SerializeAttribute(ConstInterface.MG_ATTR_RESET_SEARCH, "1"); } return(helper.GetString()); }
/// <summary> /// /// </summary> /// <param name="hasChildElements"></param> /// <returns></returns> protected override string SerializeCommandData(ref bool hasChildElements) { CommandSerializationHelper helper = new CommandSerializationHelper(); helper.SerializeTaskTag(TaskTag); helper.SerializeAttribute(ConstInterface.MG_ATTR_OPER, Oper); if (!ReversibleExit) { helper.SerializeAttribute(ConstInterface.MG_ATTR_REVERSIBLE, "0"); } if (Level != 0) { helper.SerializeAttribute(ConstInterface.MG_ATTR_TRANS_LEVEL, Level); } return(helper.GetString()); }
protected override string SerializeCommandData(ref bool hasChildElements) { CommandSerializationHelper helper = new CommandSerializationHelper(); helper.SerializeTaskTag(TaskTag); helper.SerializeMagicEvent(MagicEvent); helper.SerializeAttribute(ConstInterface.MG_ATTR_ERROR_MESSAGE, ErrorMessage); return(helper.GetString()); }
/// <summary> /// /// </summary> /// <param name="hasChildElements"></param> /// <returns></returns> protected override string SerializeCommandData(ref bool hasChildElements) { CommandSerializationHelper helper = new CommandSerializationHelper(); helper.SerializeTaskTag(TaskTag); helper.SerializeMagicEvent(MagicEvent); helper.SerializeAttribute(ConstInterface.MG_ATTR_REVERSIBLE, "0"); helper.SerializeCloseSubformOnly(CloseSubformOnly); return(helper.GetString()); }
/// <summary> /// /// </summary> /// <param name="hasChildElements"></param> /// <returns></returns> protected override string SerializeCommandData(ref bool hasChildElements) { CommandSerializationHelper helper = new CommandSerializationHelper(); helper.SerializeTaskTag(TaskTag); helper.SerializeMagicEvent(MagicEvent); helper.SerializeAttribute(ConstInterface.MG_ATTR_OBJECT, TopRecIdx); helper.SerializeRefreshMode(RefreshMode); return(helper.GetString()); }
/// <summary> /// /// </summary> /// <param name="hasChildElements"></param> /// <returns></returns> protected override string SerializeCommandData(ref bool hasChildElements) { CommandSerializationHelper helper = new CommandSerializationHelper(); helper.SerializeTaskTag(TaskTag); helper.SerializeFldId(FldId); helper.SerializeMagicEvent(MagicEvent); helper.SerializeDitIdx(DitIdx); helper.SerializeAttribute(ConstInterface.MG_ATTR_DIRECTION, Direction); return(helper.GetString()); }
protected override string SerializeCommandData(ref bool hasChildElements) { CommandSerializationHelper helper = new CommandSerializationHelper(); helper.SerializeTaskTag(TaskTag); helper.SerializeMagicEvent(MagicEvent); if (Rollback != RollbackType.NONE) { helper.SerializeAttribute(ConstInterface.MG_ATTR_ROLLBACK_TYPE, (char)Rollback); } return(helper.GetString()); }
/// <summary> /// /// </summary> /// <param name="hasChildElements"></param> /// <returns></returns> protected override string SerializeCommandData(ref bool hasChildElements) { CommandSerializationHelper helper = new CommandSerializationHelper(); helper.SerializeTaskTag(TaskTag); helper.SerializeFldId(FldId); if (IgnoreSubformRecompute) { helper.SerializeAttribute(ConstInterface.MG_ATTR_IGNORE_SUBFORM_RECOMPUTE, "1"); } return(helper.GetString()); }
/// <summary> /// /// </summary> /// <param name="hasChildElements"></param> /// <returns></returns> protected override string SerializeCommandData(ref bool hasChildElements) { CommandSerializationHelper helper = new CommandSerializationHelper(); helper.SerializeTaskTag(TaskTag); helper.SerializeMagicEvent(MagicEvent); if (Subforms) { helper.SerializeAttribute(ConstInterface.MG_ATTR_OBJECT, "99999"); } return(helper.GetString()); }
/// <summary> /// /// </summary> /// <returns></returns> protected override string SerializeQueryCommandData() { StringBuilder message = new StringBuilder(); CommandSerializationHelper helper = new CommandSerializationHelper(); message.Append(ConstInterface.MG_ATTR_VAL_QUERY_CACHED_FILE + "\""); helper.SerializeAttribute(ConstInterface.MG_ATTR_FILE_PATH, Text); message.Append(helper.GetString()); return(message.ToString()); }
/// <summary> /// /// </summary> /// <param name="hasChildElements"></param> /// <returns></returns> protected override string SerializeCommandData(ref bool hasChildElements) { CommandSerializationHelper helper = new CommandSerializationHelper(); helper.SerializeTaskTag(TaskTag); helper.SerializeAttribute(ConstInterface.MG_ATTR_EXP_IDX, ExpIdx); if (ExpType != StorageAttribute.NONE) { String maxDigits = ""; if (LengthExpVal > 0) { maxDigits += LengthExpVal; } helper.SerializeAttribute(ConstInterface.MG_ATTR_EXP_TYPE, (char)ExpType + maxDigits); } if (MprgCreator != null) { helper.SerializeAttribute(ConstInterface.MG_ATTR_MPRG_SOURCE, MprgCreator.getTaskTag()); } return(helper.GetString()); }
/// <summary> /// /// </summary> /// <param name="hasChildElements"></param> /// <returns></returns> protected override string SerializeCommandData(ref bool hasChildElements) { CommandSerializationHelper helper = new CommandSerializationHelper(); helper.SerializeTaskTag(TaskTag); helper.SerializeMagicEvent(MagicEvent); if (!IsInternalRefresh) { helper.SerializeRefreshMode(RefreshMode); } if (KeepUserSort) { helper.SerializeAttribute(ConstInterface.MG_ATTR_KEEP_USER_SORT, "1"); } return(helper.GetString()); }