各位好:小弟遇到以下问题,请教各位该如何处理?var rs = from t1 in db.t1 join in t2 in db.t2 on t1.id = t2.id into _t2 from t2 in _t2.DefaultIfEmpty() select new { id = t1.id, BeginDate = t2.Begindate//Begindate为datetime型 };请问各位:如果Begindate为空该怎么写?不会是BeginDate = t2.Begindate == null? **:**吧?
- 2 回答
- 0 关注
- 1042 浏览
添加回答
举报
0/150
提交
取消