[Table(Name = "Customers")]
public class Customer
{
private string _CustomerID;
[Column(IsPrimaryKey=true, Storage="_CustomerID")]
public string CustomerID
{
    get
    {
        return this._CustomerID;
    }
    set
    {
        this._CustomerID = value;
    }}private string _City;
[Column(Storage="_City")]
public string City
{
    get
    {
        return this._City;
    }
    set
    {
        this._City=value;
    }
}    }}
}当从数据库中取数据的时候  要事先为每个用到的表建立个这样的一个框架  到最后感觉比不用LINQ写出的代码量多了很多, LINQ2SQL到底有啥优势?