摘要
首先介绍了LINQ这一微软最新的查询技术,引出了对应对象查询的LINQ to Object技术,分析了LINQ to Object相对于传统集合查询的某些优势。然后实例测试发现,LINQ to Object的查询性能与传统查询相比较,仍存在差距。最后根据两者的优缺点得出结论,可根据实际情况选择合适的查询技术。
Firstly, LINQ that is up to date query technology of Microsoft is introduced. Then the LINQ to Object technology for object query is brought out and some advantages of LINQ to Object against traditional collection query are analyzed. The result tested with instances shows that the query performance of LINQ to Object is still inferior to traditional query. Finally according to the characteristics of the two technologies, a conclusion is that the appropriate query technology should be chosen on the fact.
出处
《计算机时代》
2009年第8期32-33,共2页
Computer Era