Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Resources for learning LINQ?

I'm looking to learn LINQ, but I'm finding that there is a lot more to it then what I initally expected. In fact, there's so much that I'm not sure where is the best place to start. I know that there's LINQ to SQL, and LINQ to Entities, and a number of other LINQ whatevers out there.

Which is the best to start with? It seems that I see more information readily available about LINQ to SQL, but I have seen quite a bit of information about LINQ to Entities also. Is LINQ to Entities more difficult than LINQ to SQL?

Also, I'm looking for some good resources on learning LINQ. I've seen that Scott Gu has a few blogs on LINQ to SQL, but I'm looking for a little more. Does anyone have a LINQ book that they're impressed with?

like image 829
The Beaver Avatar asked May 06 '09 16:05

The Beaver


People also ask

Is LINQ easy to learn?

LINQ is extensible so new types of data sources can be made querable. LINQ is composable in nature and it can be used to solve complex problems into a series of short, comprehensible queries that are easy to debug. LINQ is declarative, it is very easy to understand and maintain.

Is LINQ better than SQL?

The main difference between LINQ and SQL is that LINQ is a Microsoft . NET framework component, which adds native data querying capabilities to . NET languages, while SQL is a standard language to store and manage data in RDBMS.

What are the types of sources LINQ can work with?

With the help of LINQ you can easily work with any type of data source like XML, SQL, Entities, objects, etc. A single query can work with any type of database no need to learn different types of languages.

Is LINQ faster than lambda?

In some cases LINQ is just as fast if not faster than other methods, but in other cases it can be slower. We work on a project that we converted to linq and the data lookup is faster but the merging of data between two tables is much slower.


1 Answers

LINQ Pad is a good way to start learning, its also free...

http://www.linqpad.net/

like image 158
Miyagi Coder Avatar answered Oct 26 '22 00:10

Miyagi Coder