Tuesday, November 27, 2007

Awesome feature LINQ in .NET Framework 3.5 : Great News for ASP.NET Developers

I would like to sincerly thank Microsoft for the brilliant feature LINQ,here is what I have did to create a collection in .NET 3.5

LINQ stands for Language Integrated Query. LINQ makes SQL-like syntax a first-class citizen in VB and C#, allowing developers to work with data using code that looks like:

// C# example...

List productNames = from e in employees where e.EmployeeID = 1 select p.EmployeeName;


LINQ simply defines a syntax for working with data. There are built-in Object Relational Mappers (ORMs) that will create the underlying framework to generate LINQ statements that operate against a database, XML, or an object layer. Scott Guthrie has a great multi-part tutorial series on using the LINQ to SQL ORM implementation.

Visual Studio 2008 provides full-IntelliSense support when using the LINQ syntax. The LINQ syntax is possible due to a number of new features in the .NET Framework, including automatic properties, extension methods, and lambda expressions.

Now I think you guys won't wait no more to work on VS.NET 2008 ,NET 3.5

No comments: