Database
linq2sql.txt
Associated article: LINQ-to-SQL and T-SQL
Tags: Database .NET Design
Published source code accompanying the article by Dino Esposito in which he examines LINQ-to-SQL, an API for working with data in a SQL Server database, fully supports the LINQ syntax for running queries.
LINQ-to-SQL and T-SQL
by Dino Esposito
Listing One
[Table(Name="dbo.Customers")]
public partial class Customer : INotifyPropertyChanging, INotifyPropertyChanged
{
[Column(Storage="_CustomerID", DbType="NChar(5) NOT NULL",
CanBeNull=false, IsPrimaryKey=true)]
public string CustomerID
{
get { return ...


