Wednesday, May 17, 2006

[LINQ] IQueryable<T> is your future best friend

The coolest new feature of C# 3.0/LINQ is IQueryable<T> - standard query operators enable standardized polymorphic queries over anything supporting IQueryable<T>. Moreover, anything really means wide range of data sources: it is easy to convert a IEnumerable into IQueryable and you can get IQueryable already for various different DB engines. Matt Warren reports: “…our NUnit test suite runs the exact same binary code against Oracle, Access, Microsoft SQL, and MySQL the only difference being a connection string”.
See detailed story by Matt here or simply download and play with LINQ yourself.


Post a Comment

<< Home