protected void SimpleExecuteDataTableCircleBuild <T>(T par, ListBlueprint listBlueprint, CodeStatementCollection codeStatementCollection) where T : IBlueprint, IParmsBlueprint { codeStatementCollection.Add(stringBuilderBlueprint.Append($"@{fieldName}")); codeStatementCollection.Add(stringBuilderBlueprint.AppendField("i")); codeStatementCollection.Add(ToolManager.Instance.ConditionTool.CreateConditionCode($"i != ({fieldName}List.Count - 1)", () => { CodeStatementCollection codeStatementCollectionTmpIF = new CodeStatementCollection(); codeStatementCollectionTmpIF.Add(stringBuilderBlueprint.Append(",")); return(codeStatementCollectionTmpIF); })); codeStatementCollection.Add(par.Create($"\"@{fieldName}\" + i", $"{fieldName}List[i]")); codeStatementCollection.Add(listBlueprint.Add(par.Field)); }
protected void SimpleValueFalse <T>(T par, ListBlueprint listBlueprint, CodeStatementCollection codeStatementCollection) where T : IBlueprint, IParmsBlueprint { codeStatementCollection.Add(par.Create($"\"@{fieldName}VALUE\"", "\"\"")); codeStatementCollection.Add(listBlueprint.Add(par.Field)); }
protected void SimpleSetTrue <T>(T par, ListBlueprint listBlueprint, CodeStatementCollection codeStatementCollection) where T : IBlueprint, IParmsBlueprint { codeStatementCollection.Add(par.Create($"\"@{fieldName}ParSET\"", $"{fieldName}")); codeStatementCollection.Add(listBlueprint.Add(par.Field)); }
protected void SimpleExecuteDataTableNormalBuild <T>(T par, ListBlueprint listBlueprint, CodeStatementCollection codeStatementCollection) where T : IBlueprint, IParmsBlueprint { codeStatementCollection.Add(par.Create($"\"@{fieldName}\"", $"{fieldName}")); codeStatementCollection.Add(listBlueprint.Add(par.Field)); }