forked from LearningTechStuff/SSIS-Tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLesson 4.dtsx
2291 lines (2231 loc) · 128 KB
/
Lesson 4.dtsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<DTS:Executable
DTS:refId="Package" xmlns:DTS="www.microsoft.com/SqlServer/Dts"
DTS:ExecutableType="SSIS.Package.3"
DTS:CreatorName="REDWOOD\Barry"
DTS:CreatorComputerName="REDWOOD"
DTS:CreationDate="6/9/2012 4:03:57 PM"
DTS:PackageType="5"
DTS:VersionBuild="9"
DTS:VersionGUID="{666E0F56-71C9-41EB-859D-2DBCE283015F}"
DTS:LastModifiedProductVersion="11.0.2100.60"
DTS:LocaleID="1033"
DTS:ObjectName="Lesson 4"
DTS:DTSID="{DB034A59-388B-41A2-B9E7-8A2D3DC24B9B}"
DTS:CreationName="SSIS.Package.3">
<DTS:Property
DTS:Name="PackageFormatVersion">6</DTS:Property>
<DTS:ConnectionManagers>
<DTS:ConnectionManager
DTS:refId="Package.ConnectionManagers[Error Data]"
DTS:ObjectName="Error Data"
DTS:DTSID="{A2406F0D-0067-4254-A434-6C90FED9F3A7}"
DTS:CreationName="FLATFILE">
<DTS:ObjectData>
<DTS:ConnectionManager
DTS:Format="Delimited"
DTS:LocaleID="1033"
DTS:HeaderRowDelimiter="_x000D__x000A_"
DTS:RowDelimiter=""
DTS:TextQualifier="_x003C_none_x003E_"
DTS:CodePage="1252"
DTS:ConnectionString="C:\Development\SQL Projects\1.SSIS Tutorial\Logs\ErrorOutput.txt">
<DTS:FlatFileColumns>
<DTS:FlatFileColumn
DTS:ColumnType="Delimited"
DTS:ColumnDelimiter="_x002C_"
DTS:DataType="4"
DTS:TextQualified="True"
DTS:ObjectName="AverageRate"
DTS:DTSID="{BB402DB8-9D37-4059-8E13-5126883A7DA0}"
DTS:CreationName="" />
<DTS:FlatFileColumn
DTS:ColumnType="Delimited"
DTS:ColumnDelimiter="_x002C_"
DTS:MaximumWidth="3"
DTS:DataType="130"
DTS:TextQualified="True"
DTS:ObjectName="CurrencyID"
DTS:DTSID="{E9068C8C-946D-4F2F-8595-0BA76B208139}"
DTS:CreationName="" />
<DTS:FlatFileColumn
DTS:ColumnType="Delimited"
DTS:ColumnDelimiter="_x002C_"
DTS:DataType="133"
DTS:TextQualified="True"
DTS:ObjectName="CurrencyDate"
DTS:DTSID="{15E59EEF-1A49-4DC5-910D-97E9ADC2D5FF}"
DTS:CreationName="" />
<DTS:FlatFileColumn
DTS:ColumnType="Delimited"
DTS:ColumnDelimiter="_x002C_"
DTS:DataType="4"
DTS:TextQualified="True"
DTS:ObjectName="EndOfDayRate"
DTS:DTSID="{FC8DD47A-B106-4033-8B7B-49DC15E0E431}"
DTS:CreationName="" />
<DTS:FlatFileColumn
DTS:ColumnType="Delimited"
DTS:ColumnDelimiter="_x002C_"
DTS:DataType="3"
DTS:TextQualified="True"
DTS:ObjectName="ErrorCode"
DTS:DTSID="{DA6227F7-F537-4BCD-A1DF-A4C4A56033EB}"
DTS:CreationName="" />
<DTS:FlatFileColumn
DTS:ColumnType="Delimited"
DTS:ColumnDelimiter="_x002C_"
DTS:DataType="3"
DTS:TextQualified="True"
DTS:ObjectName="ErrorColumn"
DTS:DTSID="{DC80AC4D-CDC8-41E6-A353-E4ECA1B9E0DC}"
DTS:CreationName="" />
<DTS:FlatFileColumn
DTS:ColumnType="Delimited"
DTS:ColumnDelimiter="_x000D__x000A_"
DTS:MaximumWidth="50"
DTS:DataType="130"
DTS:TextQualified="True"
DTS:ObjectName="ErrorDescription"
DTS:DTSID="{60A167EA-1AAA-440C-B64E-A6347C14BA88}"
DTS:CreationName="" />
</DTS:FlatFileColumns>
</DTS:ConnectionManager>
</DTS:ObjectData>
</DTS:ConnectionManager>
<DTS:ConnectionManager
DTS:refId="Package.ConnectionManagers[localhost.AdventureWorksDW2012]"
DTS:ObjectName="localhost.AdventureWorksDW2012"
DTS:DTSID="{2802E3A8-3CFB-46D7-A363-773C8253C828}"
DTS:CreationName="OLEDB">
<DTS:ObjectData>
<DTS:ConnectionManager
DTS:ConnectionString="Data Source=localhost;Initial Catalog=AdventureWorksDW2012;Provider=SQLNCLI11.1;Integrated Security=SSPI;Auto Translate=False;" />
</DTS:ObjectData>
</DTS:ConnectionManager>
<DTS:ConnectionManager
DTS:refId="Package.ConnectionManagers[Sample Flat File Source Data]"
DTS:ObjectName="Sample Flat File Source Data"
DTS:DTSID="{9FE219CA-028C-4C00-B27B-FB8A245D1912}"
DTS:CreationName="FLATFILE">
<DTS:PropertyExpression
DTS:Name="ConnectionString">@[User::varFileName]</DTS:PropertyExpression>
<DTS:ObjectData>
<DTS:ConnectionManager
DTS:Format="Delimited"
DTS:LocaleID="1033"
DTS:HeaderRowDelimiter="_x000D__x000A_"
DTS:RowDelimiter=""
DTS:TextQualifier="_x003C_none_x003E_"
DTS:CodePage="1252">
<DTS:FlatFileColumns>
<DTS:FlatFileColumn
DTS:ColumnType="Delimited"
DTS:ColumnDelimiter="_x0009_"
DTS:DataType="4"
DTS:TextQualified="True"
DTS:ObjectName="AverageRate"
DTS:DTSID="{60410EDF-B640-4445-ACC7-5F332AADE452}"
DTS:CreationName="" />
<DTS:FlatFileColumn
DTS:ColumnType="Delimited"
DTS:ColumnDelimiter="_x0009_"
DTS:MaximumWidth="3"
DTS:DataType="130"
DTS:TextQualified="True"
DTS:ObjectName="CurrencyID"
DTS:DTSID="{D127871F-5190-4DFE-B8BA-52EB79294C94}"
DTS:CreationName="" />
<DTS:FlatFileColumn
DTS:ColumnType="Delimited"
DTS:ColumnDelimiter="_x0009_"
DTS:DataType="133"
DTS:TextQualified="True"
DTS:ObjectName="CurrencyDate"
DTS:DTSID="{4F38D744-9BC8-404B-860A-291286CBD41D}"
DTS:CreationName="" />
<DTS:FlatFileColumn
DTS:ColumnType="Delimited"
DTS:ColumnDelimiter="_x000D__x000A_"
DTS:DataType="4"
DTS:TextQualified="True"
DTS:ObjectName="EndOfDayRate"
DTS:DTSID="{4DF49117-458F-4081-9F28-FDD68F8784F0}"
DTS:CreationName="" />
</DTS:FlatFileColumns>
</DTS:ConnectionManager>
</DTS:ObjectData>
</DTS:ConnectionManager>
<DTS:ConnectionManager
DTS:refId="Package.ConnectionManagers[TutorialLog.log]"
DTS:ObjectName="TutorialLog.log"
DTS:DTSID="{B026FD3D-1E96-403A-B4DC-E515CFF58134}"
DTS:CreationName="FILE">
<DTS:ObjectData>
<DTS:ConnectionManager
DTS:FileUsageType="1"
DTS:ConnectionString="C:\Development\SQL Projects\1.SSIS Tutorial\Logs\TutorialLog.log" />
</DTS:ObjectData>
</DTS:ConnectionManager>
</DTS:ConnectionManagers>
<DTS:LogProviders>
<DTS:LogProvider
DTS:ConfigString="TutorialLog.log"
DTS:ObjectName="Lesson 3 Log File"
DTS:DTSID="{EBAF675E-6A44-4CE8-82FE-EDDB000C7F25}"
DTS:Description="Writes log entries for events to a CSV file"
DTS:CreationName="DTS.LogProviderTextFile.3">
<DTS:ObjectData>
<InnerObject />
</DTS:ObjectData>
</DTS:LogProvider>
</DTS:LogProviders>
<DTS:Variables>
<DTS:Variable
DTS:Namespace="User"
DTS:IncludeInDebugDump="2345"
DTS:ObjectName="varFileName"
DTS:DTSID="{24E49BCB-0A40-4F56-AAD9-237339CD65E7}"
DTS:CreationName="">
<DTS:VariableValue
DTS:DataType="8"
xml:space="preserve"></DTS:VariableValue>
</DTS:Variable>
</DTS:Variables>
<DTS:LoggingOptions
DTS:LoggingMode="2"
DTS:FilterKind="0" />
<DTS:Executables>
<DTS:Executable
DTS:refId="Package\Foreach File in Folder"
DTS:ExecutableType="STOCK:FOREACHLOOP"
DTS:LocaleID="-1"
DTS:ObjectName="Foreach File in Folder"
DTS:DTSID="{E8BAABFD-6469-4438-A4DD-47A3177FCE45}"
DTS:Description="Foreach Loop Container"
DTS:CreationName="STOCK:FOREACHLOOP">
<DTS:ForEachEnumerator
DTS:ObjectName="{E73B48DA-F2FB-472A-AD4B-BDD936442F69}"
DTS:DTSID="{E73B48DA-F2FB-472A-AD4B-BDD936442F69}"
DTS:CreationName="DTS.ForEachFileEnumerator.3">
<DTS:ObjectData>
<ForEachFileEnumeratorProperties>
<FEFEProperty
Folder="C:\Program Files\Microsoft SQL Server\110\Samples\Integration Services\Tutorial\Creating a Simple ETL Package\Sample Data" />
<FEFEProperty
FileSpec="Currency_*.txt" />
<FEFEProperty
FileNameRetrievalType="0" />
<FEFEProperty
Recurse="0" />
</ForEachFileEnumeratorProperties>
</DTS:ObjectData>
</DTS:ForEachEnumerator>
<DTS:Variables />
<DTS:LoggingOptions
DTS:LoggingMode="2"
DTS:FilterKind="0" />
<DTS:Executables>
<DTS:Executable
DTS:refId="Package\Foreach File in Folder\Extract Sample Currency Data"
DTS:ExecutableType="SSIS.Pipeline.3"
DTS:TaskContact="Performs high-performance data extraction, transformation and loading;Microsoft Corporation; Microsoft SQL Server; (C) 2007 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1"
DTS:LocaleID="-1"
DTS:ObjectName="Extract Sample Currency Data"
DTS:DTSID="{71001670-1940-4994-8B73-AB08C68C30D7}"
DTS:Description="Data Flow Task"
DTS:CreationName="SSIS.Pipeline.3">
<DTS:Variables />
<DTS:LoggingOptions
DTS:LoggingMode="1"
DTS:FilterKind="0">
<DTS:Property
DTS:Name="EventFilter"
DTS:DataType="8">2,21,PipelineExecutionPlan,22,PipelineExecutionTrees</DTS:Property>
<DTS:Property
DTS:Name="ColumnFilter"
DTS:EventName="PipelineExecutionPlan">
<DTS:Property
DTS:Name="Computer">-1</DTS:Property>
<DTS:Property
DTS:Name="Operator">-1</DTS:Property>
<DTS:Property
DTS:Name="SourceName">-1</DTS:Property>
<DTS:Property
DTS:Name="SourceID">-1</DTS:Property>
<DTS:Property
DTS:Name="ExecutionID">-1</DTS:Property>
<DTS:Property
DTS:Name="MessageText">-1</DTS:Property>
<DTS:Property
DTS:Name="DataBytes">-1</DTS:Property>
</DTS:Property>
<DTS:Property
DTS:Name="ColumnFilter"
DTS:EventName="PipelineExecutionTrees">
<DTS:Property
DTS:Name="Computer">-1</DTS:Property>
<DTS:Property
DTS:Name="Operator">-1</DTS:Property>
<DTS:Property
DTS:Name="SourceName">-1</DTS:Property>
<DTS:Property
DTS:Name="SourceID">-1</DTS:Property>
<DTS:Property
DTS:Name="ExecutionID">-1</DTS:Property>
<DTS:Property
DTS:Name="MessageText">-1</DTS:Property>
<DTS:Property
DTS:Name="DataBytes">-1</DTS:Property>
</DTS:Property>
<DTS:SelectedLogProviders>
<DTS:SelectedLogProvider
DTS:InstanceID="{EBAF675E-6A44-4CE8-82FE-EDDB000C7F25}" />
</DTS:SelectedLogProviders>
</DTS:LoggingOptions>
<DTS:ObjectData>
<pipeline
version="1">
<components>
<component
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Extract Sample Currency Data"
name="Extract Sample Currency Data"
componentClassID="{D23FD76B-F51D-420F-BBCB-19CBF6AC1AB4}"
description="Flat File Source"
localeId="1033"
usesDispositions="true"
version="1"
contactInfo="Flat File Source;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;1">
<properties>
<property
name="RetainNulls"
dataType="System.Boolean"
description="Specifies whether zero-length columns are treated as null.">false</property>
<property
name="FileNameColumnName"
dataType="System.String"
description="Specifies the name of an output column containing the file name. If no name is specified, no output column containing the file name will be generated."></property>
</properties>
<connections>
<connection
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Extract Sample Currency Data.Connections[FlatFileConnection]"
name="FlatFileConnection"
connectionManagerID="Package.ConnectionManagers[Sample Flat File Source Data]"
connectionManagerRefId="Package.ConnectionManagers[Sample Flat File Source Data]" />
</connections>
<outputs>
<output
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Extract Sample Currency Data.Outputs[Flat File Source Output]"
name="Flat File Source Output">
<outputColumns>
<outputColumn
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Extract Sample Currency Data.Outputs[Flat File Source Output].Columns[AverageRate]"
name="AverageRate"
lineageId="Package\Foreach File in Folder\Extract Sample Currency Data\Extract Sample Currency Data.Outputs[Flat File Source Output].Columns[AverageRate]"
dataType="r4"
errorOrTruncationOperation="Conversion"
errorRowDisposition="FailComponent"
truncationRowDisposition="FailComponent"
externalMetadataColumnId="Package\Foreach File in Folder\Extract Sample Currency Data\Extract Sample Currency Data.Outputs[Flat File Source Output].ExternalColumns[AverageRate]">
<properties>
<property
name="FastParse"
dataType="System.Boolean"
description="Indicates whether the column uses the faster, locale-neutral parsing routines.">false</property>
<property
name="UseBinaryFormat"
dataType="System.Boolean"
description="Indicates whether the data is in binary format.">false</property>
</properties>
</outputColumn>
<outputColumn
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Extract Sample Currency Data.Outputs[Flat File Source Output].Columns[CurrencyID]"
name="CurrencyID"
lineageId="Package\Foreach File in Folder\Extract Sample Currency Data\Extract Sample Currency Data.Outputs[Flat File Source Output].Columns[CurrencyID]"
length="3"
dataType="wstr"
errorOrTruncationOperation="Conversion"
errorRowDisposition="FailComponent"
truncationRowDisposition="FailComponent"
externalMetadataColumnId="Package\Foreach File in Folder\Extract Sample Currency Data\Extract Sample Currency Data.Outputs[Flat File Source Output].ExternalColumns[CurrencyID]">
<properties>
<property
name="FastParse"
dataType="System.Boolean"
description="Indicates whether the column uses the faster, locale-neutral parsing routines.">false</property>
<property
name="UseBinaryFormat"
dataType="System.Boolean"
description="Indicates whether the data is in binary format.">false</property>
</properties>
</outputColumn>
<outputColumn
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Extract Sample Currency Data.Outputs[Flat File Source Output].Columns[CurrencyDate]"
name="CurrencyDate"
lineageId="Package\Foreach File in Folder\Extract Sample Currency Data\Extract Sample Currency Data.Outputs[Flat File Source Output].Columns[CurrencyDate]"
dataType="dbDate"
errorOrTruncationOperation="Conversion"
errorRowDisposition="FailComponent"
truncationRowDisposition="FailComponent"
externalMetadataColumnId="Package\Foreach File in Folder\Extract Sample Currency Data\Extract Sample Currency Data.Outputs[Flat File Source Output].ExternalColumns[CurrencyDate]">
<properties>
<property
name="FastParse"
dataType="System.Boolean"
description="Indicates whether the column uses the faster, locale-neutral parsing routines.">false</property>
<property
name="UseBinaryFormat"
dataType="System.Boolean"
description="Indicates whether the data is in binary format.">false</property>
</properties>
</outputColumn>
<outputColumn
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Extract Sample Currency Data.Outputs[Flat File Source Output].Columns[EndOfDayRate]"
name="EndOfDayRate"
lineageId="Package\Foreach File in Folder\Extract Sample Currency Data\Extract Sample Currency Data.Outputs[Flat File Source Output].Columns[EndOfDayRate]"
dataType="r4"
errorOrTruncationOperation="Conversion"
errorRowDisposition="FailComponent"
truncationRowDisposition="FailComponent"
externalMetadataColumnId="Package\Foreach File in Folder\Extract Sample Currency Data\Extract Sample Currency Data.Outputs[Flat File Source Output].ExternalColumns[EndOfDayRate]">
<properties>
<property
name="FastParse"
dataType="System.Boolean"
description="Indicates whether the column uses the faster, locale-neutral parsing routines.">false</property>
<property
name="UseBinaryFormat"
dataType="System.Boolean"
description="Indicates whether the data is in binary format.">false</property>
</properties>
</outputColumn>
</outputColumns>
<externalMetadataColumns
isUsed="True">
<externalMetadataColumn
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Extract Sample Currency Data.Outputs[Flat File Source Output].ExternalColumns[AverageRate]"
name="AverageRate"
dataType="r4" />
<externalMetadataColumn
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Extract Sample Currency Data.Outputs[Flat File Source Output].ExternalColumns[CurrencyID]"
name="CurrencyID"
dataType="wstr"
length="3" />
<externalMetadataColumn
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Extract Sample Currency Data.Outputs[Flat File Source Output].ExternalColumns[CurrencyDate]"
name="CurrencyDate"
dataType="dbDate" />
<externalMetadataColumn
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Extract Sample Currency Data.Outputs[Flat File Source Output].ExternalColumns[EndOfDayRate]"
name="EndOfDayRate"
dataType="r4" />
</externalMetadataColumns>
</output>
<output
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Extract Sample Currency Data.Outputs[Flat File Source Error Output]"
name="Flat File Source Error Output"
isErrorOut="true">
<outputColumns>
<outputColumn
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Extract Sample Currency Data.Outputs[Flat File Source Error Output].Columns[Flat File Source Error Output Column]"
name="Flat File Source Error Output Column"
description="Flat File Source Error Output Column"
lineageId="Package\Foreach File in Folder\Extract Sample Currency Data\Extract Sample Currency Data.Outputs[Flat File Source Error Output].Columns[Flat File Source Error Output Column]"
dataType="text"
codePage="1252" />
<outputColumn
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Extract Sample Currency Data.Outputs[Flat File Source Error Output].Columns[ErrorCode]"
name="ErrorCode"
lineageId="Package\Foreach File in Folder\Extract Sample Currency Data\Extract Sample Currency Data.Outputs[Flat File Source Error Output].Columns[ErrorCode]"
dataType="i4"
specialFlags="1" />
<outputColumn
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Extract Sample Currency Data.Outputs[Flat File Source Error Output].Columns[ErrorColumn]"
name="ErrorColumn"
lineageId="Package\Foreach File in Folder\Extract Sample Currency Data\Extract Sample Currency Data.Outputs[Flat File Source Error Output].Columns[ErrorColumn]"
dataType="i4"
specialFlags="2" />
</outputColumns>
<externalMetadataColumns />
</output>
</outputs>
</component>
<component
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Failed Rows"
name="Failed Rows"
componentClassID="{8DA75FED-1B7C-407D-B2AD-2B24209CCCA4}"
description="Flat File Destination"
localeId="1033"
contactInfo="Flat File Destination;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;0">
<properties>
<property
name="Overwrite"
dataType="System.Boolean"
description="Specifies whether the data will overwrite or append to the destination file.">false</property>
<property
name="Header"
dataType="System.Null"
description="Specifies the text to write to the destination file before any data is written."
expressionType="Notify" />
</properties>
<connections>
<connection
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Failed Rows.Connections[FlatFileConnection]"
name="FlatFileConnection"
connectionManagerID="Package.ConnectionManagers[Error Data]"
connectionManagerRefId="Package.ConnectionManagers[Error Data]" />
</connections>
<inputs>
<input
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Failed Rows.Inputs[Flat File Destination Input]"
name="Flat File Destination Input"
hasSideEffects="true">
<inputColumns>
<inputColumn
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Failed Rows.Inputs[Flat File Destination Input].Columns[AverageRate]"
lineageId="Package\Foreach File in Folder\Extract Sample Currency Data\Extract Sample Currency Data.Outputs[Flat File Source Output].Columns[AverageRate]"
externalMetadataColumnId="Package\Foreach File in Folder\Extract Sample Currency Data\Failed Rows.Inputs[Flat File Destination Input].ExternalColumns[AverageRate]"
cachedName="AverageRate"
cachedDataType="r4" />
<inputColumn
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Failed Rows.Inputs[Flat File Destination Input].Columns[CurrencyID]"
lineageId="Package\Foreach File in Folder\Extract Sample Currency Data\Extract Sample Currency Data.Outputs[Flat File Source Output].Columns[CurrencyID]"
externalMetadataColumnId="Package\Foreach File in Folder\Extract Sample Currency Data\Failed Rows.Inputs[Flat File Destination Input].ExternalColumns[CurrencyID]"
cachedName="CurrencyID"
cachedDataType="wstr"
cachedLength="3" />
<inputColumn
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Failed Rows.Inputs[Flat File Destination Input].Columns[CurrencyDate]"
lineageId="Package\Foreach File in Folder\Extract Sample Currency Data\Extract Sample Currency Data.Outputs[Flat File Source Output].Columns[CurrencyDate]"
externalMetadataColumnId="Package\Foreach File in Folder\Extract Sample Currency Data\Failed Rows.Inputs[Flat File Destination Input].ExternalColumns[CurrencyDate]"
cachedName="CurrencyDate"
cachedDataType="dbDate" />
<inputColumn
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Failed Rows.Inputs[Flat File Destination Input].Columns[EndOfDayRate]"
lineageId="Package\Foreach File in Folder\Extract Sample Currency Data\Extract Sample Currency Data.Outputs[Flat File Source Output].Columns[EndOfDayRate]"
externalMetadataColumnId="Package\Foreach File in Folder\Extract Sample Currency Data\Failed Rows.Inputs[Flat File Destination Input].ExternalColumns[EndOfDayRate]"
cachedName="EndOfDayRate"
cachedDataType="r4" />
<inputColumn
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Failed Rows.Inputs[Flat File Destination Input].Columns[ErrorCode]"
lineageId="Package\Foreach File in Folder\Extract Sample Currency Data\Lookup Currency Key.Outputs[Lookup Error Output].Columns[ErrorCode]"
externalMetadataColumnId="Package\Foreach File in Folder\Extract Sample Currency Data\Failed Rows.Inputs[Flat File Destination Input].ExternalColumns[ErrorCode]"
cachedName="ErrorCode"
cachedDataType="i4" />
<inputColumn
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Failed Rows.Inputs[Flat File Destination Input].Columns[ErrorColumn]"
lineageId="Package\Foreach File in Folder\Extract Sample Currency Data\Lookup Currency Key.Outputs[Lookup Error Output].Columns[ErrorColumn]"
externalMetadataColumnId="Package\Foreach File in Folder\Extract Sample Currency Data\Failed Rows.Inputs[Flat File Destination Input].ExternalColumns[ErrorColumn]"
cachedName="ErrorColumn"
cachedDataType="i4" />
<inputColumn
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Failed Rows.Inputs[Flat File Destination Input].Columns[ErrorDescription]"
lineageId="Package\Foreach File in Folder\Extract Sample Currency Data\Get Error Description.Outputs[Output 0].Columns[ErrorDescription]"
externalMetadataColumnId="Package\Foreach File in Folder\Extract Sample Currency Data\Failed Rows.Inputs[Flat File Destination Input].ExternalColumns[ErrorDescription]"
cachedName="ErrorDescription"
cachedDataType="wstr"
cachedLength="50" />
</inputColumns>
<externalMetadataColumns
isUsed="True">
<externalMetadataColumn
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Failed Rows.Inputs[Flat File Destination Input].ExternalColumns[AverageRate]"
name="AverageRate"
dataType="r4" />
<externalMetadataColumn
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Failed Rows.Inputs[Flat File Destination Input].ExternalColumns[CurrencyID]"
name="CurrencyID"
dataType="wstr"
length="3" />
<externalMetadataColumn
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Failed Rows.Inputs[Flat File Destination Input].ExternalColumns[CurrencyDate]"
name="CurrencyDate"
dataType="dbDate" />
<externalMetadataColumn
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Failed Rows.Inputs[Flat File Destination Input].ExternalColumns[EndOfDayRate]"
name="EndOfDayRate"
dataType="r4" />
<externalMetadataColumn
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Failed Rows.Inputs[Flat File Destination Input].ExternalColumns[ErrorCode]"
name="ErrorCode"
dataType="i4" />
<externalMetadataColumn
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Failed Rows.Inputs[Flat File Destination Input].ExternalColumns[ErrorColumn]"
name="ErrorColumn"
dataType="i4" />
<externalMetadataColumn
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Failed Rows.Inputs[Flat File Destination Input].ExternalColumns[ErrorDescription]"
name="ErrorDescription"
dataType="wstr"
length="50" />
</externalMetadataColumns>
</input>
</inputs>
</component>
<component
refId="Package\Foreach File in Folder\Extract Sample Currency Data\Get Error Description"
name="Get Error Description"
componentClassID="{874F7595-FB5F-40FF-96AF-FBFF8250E3EF}"
description="Includes and runs custom script code. For example, apply a business rule that limits the range of valid values in an "income" column or add values in two columns and calculate the average of the sum."
version="8"
contactInfo="Includes and runs custom script code. For example, apply a business rule that limits the range of valid values in an "income" column or add values in two columns and calculate the average of the sum.;Microsoft Corporation; Microsoft SQL Server; Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;8">
<properties>
<property
name="SourceCode"
state="cdata"
dataType="System.String"
isArray="true"
description="Stores the source code of the component">
<arrayElements
arrayElementCount="30">
<arrayElement
dataType="System.String"><![CDATA[Properties\Resources.resx]]></arrayElement>
<arrayElement
dataType="System.String"><![CDATA[UTF8]]></arrayElement>
<arrayElement
dataType="System.String"><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>]]></arrayElement>
<arrayElement
dataType="System.String"><![CDATA[main.cs]]></arrayElement>
<arrayElement
dataType="System.String"><![CDATA[UTF8]]></arrayElement>
<arrayElement
dataType="System.String"><![CDATA[#region Help: Introduction to the Script Component
/* The Script Component allows you to perform virtually any operation that can be accomplished in
* a .Net application within the context of an Integration Services data flow.
*
* Expand the other regions which have "Help" prefixes for examples of specific ways to use
* Integration Services features within this script component. */
#endregion
#region Namespaces
using System;
using System.Data;
using Microsoft.SqlServer.Dts.Pipeline.Wrapper;
using Microsoft.SqlServer.Dts.Runtime.Wrapper;
#endregion
/// <summary>
/// This is the class to which to add your code. Do not change the name, attributes, or parent
/// of this class.
/// </summary>
[Microsoft.SqlServer.Dts.Pipeline.SSISScriptComponentEntryPointAttribute]
public class ScriptMain : UserComponent
{
#region Help: Using Integration Services variables and parameters
/* To use a variable in this script, first ensure that the variable has been added to
* either the list contained in the ReadOnlyVariables property or the list contained in
* the ReadWriteVariables property of this script component, according to whether or not your
* code needs to write into the variable. To do so, save this script, close this instance of
* Visual Studio, and update the ReadOnlyVariables and ReadWriteVariables properties in the
* Script Transformation Editor window.
* To use a parameter in this script, follow the same steps. Parameters are always read-only.
*
* Example of reading from a variable or parameter:
* DateTime startTime = Variables.MyStartTime;
*
* Example of writing to a variable:
* Variables.myStringVariable = "new value";
*/
#endregion
#region Help: Using Integration Services Connnection Managers
/* Some types of connection managers can be used in this script component. See the help topic
* "Working with Connection Managers Programatically" for details.
*
* To use a connection manager in this script, first ensure that the connection manager has
* been added to either the list of connection managers on the Connection Managers page of the
* script component editor. To add the connection manager, save this script, close this instance of
* Visual Studio, and add the Connection Manager to the list.
*
* If the component needs to hold a connection open while processing rows, override the
* AcquireConnections and ReleaseConnections methods.
*
* Example of using an ADO.Net connection manager to acquire a SqlConnection:
* object rawConnection = Connections.SalesDB.AcquireConnection(transaction);
* SqlConnection salesDBConn = (SqlConnection)rawConnection;
*
* Example of using a File connection manager to acquire a file path:
* object rawConnection = Connections.Prices_zip.AcquireConnection(transaction);
* string filePath = (string)rawConnection;
*
* Example of releasing a connection manager:
* Connections.SalesDB.ReleaseConnection(rawConnection);
*/
#endregion
#region Help: Firing Integration Services Events
/* This script component can fire events.
*
* Example of firing an error event:
* ComponentMetaData.FireError(10, "Process Values", "Bad value", "", 0, out cancel);
*
* Example of firing an information event:
* ComponentMetaData.FireInformation(10, "Process Values", "Processing has started", "", 0, fireAgain);
*
* Example of firing a warning event:
* ComponentMetaData.FireWarning(10, "Process Values", "No rows were received", "", 0);
*/
#endregion
/// <summary>
/// This method is called once, before rows begin to be processed in the data flow.
///
/// You can remove this method if you don't need to do anything here.
/// </summary>
public override void PreExecute()
{
base.PreExecute();
/*
* Add your code here
*/
}
/// <summary>
/// This method is called after all the rows have passed through this component.
///
/// You can delete this method if you don't need to do anything here.
/// </summary>
public override void PostExecute()
{
base.PostExecute();
/*
* Add your code here
*/
}
/// <summary>
/// This method is called once for every row that passes through the component from Input0.
///
/// Example of reading a value from a column in the the row:
/// string zipCode = Row.ZipCode
///
/// Example of writing a value to a column in the row:
/// Row.ZipCode = zipCode
/// </summary>
/// <param name="Row">The row that is currently passing through the component</param>
public override void Input0_ProcessInputRow(Input0Buffer Row)
{
Row.ErrorDescription = this.ComponentMetaData.GetErrorDescription(Row.ErrorCode);
}
}
]]></arrayElement>
<arrayElement
dataType="System.String"><![CDATA[SC_f3f66d9f8ff5447a98949db6594769ca.csproj]]></arrayElement>
<arrayElement
dataType="System.String"><![CDATA[UTF8]]></arrayElement>
<arrayElement
dataType="System.String"><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectTypeGuids>{30D016F9-3734-4E33-A861-5E7D899E18F3};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{20CD423A-D4B9-4DBC-849C-095C032D8F8F}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SC_f3f66d9f8ff5447a98949db6594769ca</RootNamespace>
<AssemblyName>SC_f3f66d9f8ff5447a98949db6594769ca</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>.\bin\Debug\</OutputPath>
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DebugSymbols>false</DebugSymbols>
<Optimize>true</Optimize>
<OutputPath>.\bin\Release\</OutputPath>
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="Microsoft.SqlServer.TxScript, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
<Reference Include="Microsoft.SqlServer.DTSRuntimeWrap, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
<Reference Include="Microsoft.SqlServer.DTSPipelineWrap, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
<Reference Include="Microsoft.SqlServer.PipelineHost, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
<Compile Include="main.cs" />
<Compile Include="BufferWrapper.cs" />
<Compile Include="ComponentWrapper.cs" />
</ItemGroup>
<ItemGroup>
<AppDesigner Include="Properties\" />
<Compile Include="Properties\AssemblyInfo.cs">
<SubType>Code</SubType>
</Compile>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
</Compile>
</ItemGroup>
<!-- Include the build rules for a C# project.-->
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- This section defines VSTA properties that describe the host-changable project properties. -->
<ProjectExtensions>
<VisualStudio>
<FlavorProperties GUID="{30D016F9-3734-4E33-A861-5E7D899E18F3}">
<ProjectProperties HostName="VSTAHostName" HostPackage="{B3A685AA-7EAF-4BC6-9940-57959FA5AC07}" ApplicationType="usd" Language="cs" TemplatesPath="" />
<Host Name="ScriptComponent" IconIndex="0" />
<ProjectClient>
<HostIdentifier>SSIS_SC110</HostIdentifier>
</ProjectClient>
</FlavorProperties>
</VisualStudio>
</ProjectExtensions>
</Project>]]></arrayElement>
<arrayElement
dataType="System.String"><![CDATA[ComponentWrapper.cs]]></arrayElement>
<arrayElement
dataType="System.String"><![CDATA[UTF8]]></arrayElement>
<arrayElement
dataType="System.String"><![CDATA[/* THIS IS AUTO-GENERATED CODE THAT WILL BE OVERWRITTEN! DO NOT EDIT!
* Microsoft SQL Server Integration Services component wrapper
* This module defines the base class for your component
* THIS IS AUTO-GENERATED CODE THAT WILL BE OVERWRITTEN! DO NOT EDIT! */
using System;
using System.Data;
using Microsoft.SqlServer.Dts.Pipeline;
using Microsoft.SqlServer.Dts.Pipeline.Wrapper;
using Microsoft.SqlServer.Dts.Runtime.Wrapper;
public class UserComponent: ScriptComponent
{
public Connections Connections;
public Variables Variables;
public UserComponent()
{
Connections = new Connections(this);
Variables = new Variables(this);
}
public override void ProcessInput(int InputID, string InputName, PipelineBuffer Buffer, OutputNameMap OutputMap)
{
if (InputName.Equals(@"Input 0", StringComparison.Ordinal))
{
Input0_ProcessInput(new Input0Buffer(Buffer, GetColumnIndexes(InputID), OutputMap));
}
}
public virtual void Input0_ProcessInput(Input0Buffer Buffer)
{
while (Buffer.NextRow())
{
Input0_ProcessInputRow(Buffer);
}
}
public virtual void Input0_ProcessInputRow(Input0Buffer Row)
{
}
}
public class Connections
{
ScriptComponent ParentComponent;
public Connections(ScriptComponent Component)
{
ParentComponent = Component;
}
}
public class Variables
{
ScriptComponent ParentComponent;
public Variables(ScriptComponent Component)
{
ParentComponent = Component;
}
}
]]></arrayElement>
<arrayElement
dataType="System.String"><![CDATA[Properties\Settings.Designer.cs]]></arrayElement>
<arrayElement
dataType="System.String"><![CDATA[UTF8]]></arrayElement>
<arrayElement
dataType="System.String"><![CDATA[//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if