Felipe Pessoto
Felipe Pessoto

Reputation: 6969

Linq Methods

Linq in general, has extensions methods(at IEnumerable) like Where, Select, OrderBy. But use another methods like string.StartsWith.

Where can I find a list with all methods supported, for Linq to SQL and Linq to Entities?

Upvotes: 15

Views: 18401

Answers (4)

Colin
Colin

Reputation: 10638

Here's a list of all supported methods for LINQ to entities:

Supported and Unsupported LINQ Methods (LINQ to Entities)

Upvotes: 17

Per Erik Stendahl
Per Erik Stendahl

Reputation: 883

For LINQ to SQL:

Data Types and Functions (LINQ to SQL)

Upvotes: 6

CertifiedCrazy
CertifiedCrazy

Reputation: 935

You could start with 101 Linq Samples.

There is a C# version and a VB.Net Version. The C# and VB.Net are broken out differently and the VB.Net version has a section specific to Linq to SQL.

You can also check out the MSDN section on Linq to SQL.

For Linq to Entities check out this MSDN link on Supported and Unsupported Methods (LINQ to Entities).

Upvotes: 3

Philippe Leybaert
Philippe Leybaert

Reputation: 171734

You can use Visual Studio's class browser to check the Enumerable class, which contains all LINQ extension methods.

Upvotes: -1

Related Questions