错误究竟在说什么
p.PhoneNumberId equals link.PhoneNumberId
应该
link.PhoneNumberId equals p.PhoneNumberId
完整的代码
var query = (from u in myEntities.Users join link in myEntities.linkUserPhoneNumbers on u.UserId equals link.UserId join p in myEntities.PhoneNumbers on link.PhoneNumberId equals p.PhoneNumberId where u.UserName == Username && u.Password == Password select u).ToList();
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)