Пример #1
0
 private void CreateVariables()
 {
     _RowCountVar = new Lib.Variable("RowCount", 0, Lib.DataType.I4).AddComponent(_Package);
 }
Пример #2
0
 private void CreateVariables()
 {
     new Lib.Variable("ExampleVar1", "", Lib.DataType.WSTR).AddComponent(_Package);
     SQLResultVariable = new Lib.Variable("ExampleVar2", 42, Lib.DataType.I4).AddComponent(_Package);
 }
Пример #3
0
 //Control Flow Snippets
 private void AddVariable(LibCF.Package package)
 {
     Lib.Variable Variable = new Lib.Variable("VarName", "Default", Lib.DataType.WSTR).AddComponent(package);
 }
Пример #4
0
 private LibCF.ForEachLoop AddForEachFileInfoLoop(LibCF.ISequence seq, LibCF.Package package, Lib.Variable variable)
 {
     LibCF.ForEachLoop felc = new LibCF.ForEachLoop("Loop name").AddComponent(seq)
                              .SetADOEnumerator(package, variable)
                              .AddVariableMapping(variable, 0);
     return(felc);
 }
 private void RowCount(LibCF.DataFlow dataFlow, LibDF.OutputWrapper output, Lib.Variable variable)
 {
     LibDF.RowCount RowCount = new LibDF.RowCount("RowCount", variable)
                               .AddComponent(dataFlow);
     new LibDF.Path(output, RowCount.DefaultInput).Connect(dataFlow);
 }