For more info. on my eBook go to www.scannerdanner.com. This is a review of a test procedure I have in my ebook. Section 1 Universal Testing Methods page 13. There are other ways to do this test.
LINQ also defines a set of method names (called standard query operators, or standard sequence operators), along with translation rules used by the compiler to translate fluent-style query expressions into expressions using these method names, lambda expressions and anonymous types.
It does this by translating language-integrated queries into SQL for execution by the database, and then translating the tabular results back into objects you define. Your application is then free to manipulate the objects while LINQ to SQL stays in the background tracking your changes automatically.