EntityFramework LINQ Order using string and nested reflection
问题 I saw already some of the similar questions, but cannot find an anwser how to solve this problem. I want to have a possibility to order collection using string as property name. Model: public sealed class User : IdentityUser { #region Constructors #endregion #region Properties [Required] [Display(Name = "First name")] public string FirstName { get; set; } [Required] [Display(Name = "Last name")] public string LastName { get; set; } [ForeignKey("Superior")] public string SuperiorId { get; set;