代码:

            var result = from mpc in this.Context.Set<Domain.S_MENU_PURVIEWCODE>()
                         join menu in this.Context.Set<Domain.S_MENU>()
                on new { mpc.M_ID }
                equals new { menu.M_ID }
                         select new
                         {
                             mpc.MPC_ID,
                             mpc.MPC_NAME,
                             mpc.MPC_CODE,
                             mpc.MPC_DISABLED,
                             menu.M_NAME,
                             menu.M_CODE
                         };

 

相关文章:

  • 2021-07-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-27
  • 2021-07-17
  • 2022-12-23
  • 2021-06-16
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-21
  • 2021-08-29
  • 2022-03-12
相关资源
相似解决方案