I have a question on which pattern to use. I have x number of input
files (XLS), which are merged, custom rules applied, magic pixie dust
applied then inserted into a database.

{ My syntax is off as I don't have the project in front of me }

So, should I do a)
foreach( string file in Directory.GetFiles("*.xls")
{
       Register(new JoinOperationHere ( ).Left(new
ReadFileOperation(file).Right(new DatabaseModelRecords() ) );


)
}
Register ( new BusinessRulesOperation() );
Register( new WriteToDbOperation() );
...etc

or
b)
foreach( string file in Directory.GetFiles("*.xls")
{
       Register(new JoinOperationHere ( ).Left(new
ReadFileOperation(file).Right(new DatabaseModelRecords() ) );
      Register ( new BusinessRulesOperation() );
       Register( new WriteToDbOperation() );

)
}

And, for bonus points, after you've done an aggregation, how would you
use that after the end of the EtlProcess to report the number of
records ?

Thanks. I really like this toolset. I've done what a previous team
took 2 months to do, in the past 3 days.

-- 
You received this message because you are subscribed to the Google Groups 
"Rhino Tools Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rhino-tools-dev?hl=en.

Reply via email to