var query = from main in _userDeviceChannelRole.Table
join deviceChannelInfo in _deviceChannelRepository.Table on new { main.DeviceId, main.ChannelNumber } equals new { deviceChannelInfo.DeviceId, deviceChannelInfo.ChannelNumber }
select new
{
};
转载于:https://www.cnblogs.com/FavoriteMango/p/10482914.html