This post is level 100 so very high level and it is meant to give newcomers an overview on how to start with LINQ, ie what tools you need what version of Visual Studio, language versions supported platforms, what's supported on devices and finally some links to get started.
Visual Studio 2008
You will need to use the new language features only available in C# 3.0 and VB 9.0 which can be used with Visual Studio 2008. I have shown code examples in C# but the concepts are the same for VB.
So you'll need at least Visual Studio 2008 and target 3.5 of the framework.
Types of LINQ (all supported on the desktop)
- LINQ to SQL (old name DLINQ)
- LINQ to XML
- LINQ to DataSets
- LINQ to Entities (sometimes called LINQ to ADO.NET)
- LINQ to Objects
Types of LINQ supported on the Compact Framework (v 3.5)
- LINQ to DataSets
- LINQ to Xml
- LINQ to Objects
You can use SQL Metal to generate the .dbml file for LINQ to SQL - but this will only work for SQL Compact on the desktop not device.
Some good resources (not device specific though) can be found at:
http://weblogs.asp.net/scottgu/archive/2007/05/19/using-linq-to-sql-part-1.aspx
LINQ in Action: http://linqinaction.net/
Mike Taulty: http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/category/1001.aspx
No comments:
Post a Comment