摘要: 一个关于linq的操作类 1 /// 2 /// Linq通用数据访问类 3 /// 指定TDataBase来代替后面要使用的数据上下文(指代) 4 /// where:说明指代的类型 5 /// new:限定必须有一个不带参数的构造函数 6 /// 7 /// 8 public class LinqHelper where TDataBase : DataContext, new() 9 { 10 private static string connectionStrin... 阅读全文
posted @ 2013-04-11 19:25 贾锡安 阅读(1328) 评论(0) 推荐(1) 编辑