WebEnh

.net7 mvc jquery bootstrap json 学习中 第一次学PHP,正在研究中。自学进行时... ... 我的博客 https://enhweb.github.io/ 不错的皮肤:darkgreentrip,iMetro_HD
  首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2020年6月19日

摘要: LINQ查询表达式 约束 LINQ查询表达式必须以from子句开头,以select或group子句结束 关键字 from...in...:指定要查找的数据以及范围变量,多个from子句则表示从多个数据源查找数据。注意:C#编译器会把"复合from子句"的查询表达式转换为SelectMany()扩展方 阅读全文

posted @ 2020-06-19 11:41 WebEnh 阅读(416) 评论(0) 推荐(0) 编辑

摘要: var a = from m in DbContext.Set<T1>() join q in DbContext.Set<T2>() on new { m.ID, Phone=m.Phone1 } equals new { q.ID, Phone=q.Phone2 } where m.Phone1 阅读全文

posted @ 2020-06-19 11:40 WebEnh 阅读(1013) 评论(0) 推荐(0) 编辑