Rated 5 Stars (out of 5) - Very good. I had problems getting demos to work. They reference AddressPerson, some table that does not exist in AdventureWorks2008. I added some logic to spit out errors. The demo package returns success even it fails.
p = new EzOleDbToFilePackage("DBA-ETL", "AdventureWorks2008", "Address", "c:\\result.txt"); ;
p.DataFlow.Disable = false;
p.Execute();
foreach (DtsError err in p.Errors)
{
Console.Write(string.Format("Error: {0}\n", err.Description));
}
↧