在这里我想添加branch_name以便分支名称应该取自表tbl_branch取决于这个branch_id ..帮帮我 [英] here I want to add branch_name so that the branch name should be taken from table tbl_branch depend on this branch_id.. help me

查看:114
本文介绍了在这里我想添加branch_name以便分支名称应该取自表tbl_branch取决于这个branch_id ..帮帮我的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

var result = TblSMSEvent.Where(e=>e.Company_id =51)
           .GroupBy(e=>e.Branch_id)
           .Select(g=>new{ Branch_id=g.Key, Number_sms =g.Count()).ToList();







这里我想添加branch_name,以便从表中取出分支名称tbl_branch依赖于这个branch_id ..帮我




here I want to add branch_name so that the branch name should be taken from table tbl_branch depend on this branch_id.. help me

推荐答案

这篇关于在这里我想添加branch_name以便分支名称应该取自表tbl_branch取决于这个branch_id ..帮帮我的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆