There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Create Example: CSLinqToSQL
This example is created to illustrate how to write Linq to SQL server queries using CSharp. First, it creates an type named StudentInfo. This type inculdes ID, Name, MathScore property. Then it use DataContext to read data schema and records from database.
In this sample, you will see the basic Linq operation like select, update, orderby, max, average...