Linq-System.Data.Linq.DataContext不包含采用“0”个参数的构造函数

解决方法:

     打开linq to sql 的db文件***.designer.cs,加上下面的代码:

加上这些构造函数之后重新生成就可以了。

posted @ 2016-03-16 17:31  dekevin  阅读(1252)  评论(0)    收藏  举报