GeneratePurchaseReport
全部标签 我的任务是改进一段生成大量报告的代码,以我认为合适的任何方式。生成了大约10个相同的报告(针对数据库的每个“部分”),它们的代码类似于:GeneratePurchaseReport(Country.France,ProductType.Chair);GC.Collect();GeneratePurchaseReport(Country.France,ProductType.Table);GC.Collect();GeneratePurchaseReport(Country.Italy,ProductType.Chair);GC.Collect();GeneratePurchaseRep
我的任务是改进一段生成大量报告的代码,以我认为合适的任何方式。生成了大约10个相同的报告(针对数据库的每个“部分”),它们的代码类似于:GeneratePurchaseReport(Country.France,ProductType.Chair);GC.Collect();GeneratePurchaseReport(Country.France,ProductType.Table);GC.Collect();GeneratePurchaseReport(Country.Italy,ProductType.Chair);GC.Collect();GeneratePurchaseRep