Forcing EF ApplicationUser To Load Navigation Properties
问题 I am using EF6/.Net 4.5.1 to retrieve data for a listview in a usercontrol on a webform. I have modified the ApplicationUser to include a Navigation Property [1:1] using a FK attribute which has been working great. public class ApplicationUser : IdentityUser { public ApplicationUser() { CreateDate = DateTime.Now; :\\ deleted stuff } public int TaxID { get; set; } public System.Guid ApplicationId { get; set; } :\\ deleted stuff [ForeignKey("TaxID")] public virtual Personnel Personnel { get;