For more information, see the Unsupported LINQ Methods in this topic.
For more general information about LINQ, see LINQ (Language-Integrated Query).
First let’s create a simple database to use with our program.
All of the techniques that we use in C# later on will scale to much larger programs so this doesn’t need to be anything complicated.
Unfortunately, the various installments are not easy to follow when starting from Part 1 and going onward, so I've decided to gather and organize the links here for myself and for anyone else interested in his tutorial.The set of queries expressible in the LINQ syntax is broader than those enabled in the URI syntax that is used by OData data services.A Not Supported Exception is raised when the query cannot be mapped to a URI in the target data service.Without this step, your changes are only local and will not appear in query results.After you have added the new customer by submitting the changes, you cannot execute this solution again as is.
Using LINQ to SQL Also, there was (at one time) a single PDF containing all of these tutorials, but the website where it was hosted appears to be offline.