| | |
| | | |
| | | CommonHelper.CommonReplaceStr(param, ref str); |
| | | |
| | | string attrString = ""; |
| | | List<ColumnModel> newColumnNameList = ListHelper.RemoveAttrForUpdateMode(param.ColumnNameList); |
| | | for (int i = 0; i < newColumnNameList.Count; ++i) |
| | | { |
| | | attrString += StructStrHelper.GenerateAttributeForUpdateModel(newColumnNameList[i], param); |
| | | } |
| | | str = str.Replace("$UpdateAttributes$", attrString); |
| | | |
| | | attrString = ""; |
| | | for (int i = 0; i < newColumnNameList.Count; ++i) |
| | | { |
| | | attrString += StructStrHelper.GenerateAttributeForUpdateModelByImport(newColumnNameList[i], param); |
| | | } |
| | | str = str.Replace("$UpdateAttributesForImport$", attrString); |
| | | |
| | | attrString = ""; |
| | | for (int i = 0; i < newColumnNameList.Count; ++i) |
| | | { |
| | | attrString += StructStrHelper.GenerateAttributeForCheckCreateOrUpdateDtoAsync(newColumnNameList[i], param); |
| | | } |
| | | str = str.Replace("$UpdateAttributesForCheckCreateOrUpdateDtoAsync$", attrString); |
| | | |
| | | |
| | | return str; |
| | | } |
| | | } |