需要帮助的LINQ表达, 我有2个表Article
和comments
外键是Article_id
。现在,我需要同时使用使用LINQ的表中的数据,以SQL LIKE article_id,Article_title,Total_Comments
(评论计数根据目前的第条),如何使用聚合函数工作在LINQ与加入
故事结构:
table 1(Article) : Article_ID,Article_Title.. etc
table 2(comments): Comment_auto_id,Comment_text,Comment_by(User_ID),Article_ID
不'文章'有导航属性'评论'? – 2013-03-10 10:20:07