background preloader

Egyamado

Facebook Twitter

Ahmed Nadar

Web Developer

Pearltrees videos

Help. Cool stuff. .net. LINQ to SQL - 5 Minute Overview. I want feedback on this article. Please leave your comments in the discussion page (click on the Discuss button on the top-right of this page) (See also: Main LINQ to SQL Page) LINQ to SQL allows .NET developers to write “queries” in their .NET language of choice to retrieve and manipulate data from a SQL Server database. In a general sense, LINQ to SQL allows us to create SQL queries in our preferred .NET language syntax and work with a strongly types collection of objects as a return result. To get an idea of the syntax for LINQ to SQL, we will be using the following SQL database schema. SQL Database Schema used for LINQ to SQL examples. For the moment I ask you to ignore the fact that we will be coding against a type HookedOnLINQ, I’ll get to how that was created in a few pages time, for now just understand it is an object structure that mimics this database schema.

HookedOnLINQ db = new HookedOnLINQ("Data Source=(local);Initial Catalog=HookedOnLINQ"); if (q ! Contacts table: Hans Rosling's new insights on poverty. MSDN Canada | Visual Studio Downloads .NET Developers. Ignite Your Career. Open Source Advertising - Sidebar - 1H 2010 - Meta Stack Overflo. How-To Geek - Computer Help from your Friendly How-To Geek.

Adjustable Height Desk - GeekDesk - Super User. Server Fault. What's the strangest corner case you've seen in C# or .NET? - St.