예제 #1
0
        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));
        }
예제 #2
0
 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));
 }
예제 #3
0
 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));
 }
예제 #4
0
 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));
 }