$linq is a Javascript version of .NET’s LINQ to Objects and implements most of the corresponding .NET LINQ to Objects methods like select , select many, where, order by, distinct, group by, join, except etc.
$linq also implements some of the methods that are inspired by MoreLinq and can work with arrays and JQuery collections
Below is a sample program
| var people = [{ Name: "Senthil Kumar" }, |
| { Name: "Norton Stanley" }, |
| { Name: "Pavam M" }]; |
| var filteredData = people.where( "x => x ='Norton Stanley'" ).toArray(); |
Download $linq – A Javascript LINQ library from Codeplex
No comments :
Post a Comment