有两个类:public class User{public int Id { get; set; }public string Name { get; set; }}public class UserDto{public int Id { get; set; }}如何将:Expression<Func<UserDto, bool>> exp = item => item.Id.Equals(0); 转换成Expression<Func<User, bool>>
慕森王
相关分类