Navigation Property not loading when only the ID of the related object is populated
问题 I am trying to establish a many-to-one relationship. The entity that represents the “many” has a navigation property pointing back to the parent entity. It looks like this: public abstract class BaseEntity { /// <summary> /// Key Field for all entities /// </summary> /// [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)] public Guid Id { get; set; } /// <summary> /// Date entity was created /// </summary> public DateTime DateCreated { get; set; } /// <summary> /// Last date Modified /