文件名称:ComponentOne LiveLinq(Linq增强类库)
文件大小:2.11MB
文件格式:ZIP
更新时间:2012-05-01 05:35:10
Linq增强类库
LiveLinq is a class library that augments the functionality of LINQ in two related directions: It makes LINQ faster LiveLinq uses indexing and other optimizations to speed up LINQ queries in memory. Speed gains can be hundreds and even thousands of times on queries with high selectivity conditions. Typical/average gains are lower but still significant, a 10-50 times speedup can be considered typical. It adds support for live views to LINQ Live view is a LINQ query result that is kept constantly up-to-date without re-populating it every time its base data changes. This makes LiveLinq extremely useful in common data-binding scenarios where objects are edited and may be filtered in or out of views, have their associated subtotals updated and so on. Using an old jargon, one could say that LINQ queries correspond to snapshots, while LiveLinq view correspond to dynasets. Since live views automatically react to changes, they greatly widen the sphere of declarative programming, not only in data binding and GUI but in many other programming scenarios as well