标签:
var customers = DB.Customer.Join(DB.Commission, cst => cst.CommissionId,
com => com.CommissionId, (cst, com) => new Customer()
{
CommissionId = com.CommissionId,
CustomerId = cst.CustomerId,
CustomerName = cst.CustomerName,
ERPCustomerNo = cst.ERPCustomerNo,
UserId = cst.UserId
}).ToList();
标签:
原文地址:http://www.cnblogs.com/tiancai/p/4816462.html