Parent has a collection of Child. Child has a Foreign Key to Parent (ParentID), but that foreign key might by null / blank. I want Entity Framework to always load Child with null / blank foreign key for all Parent.
public class Parent
{
public string ID { get; set; }
public virtual ICollection<Child> Children { get; set; } //Should load it's children AND children without foreign key.
}
public class Child
{
public string ID { get; set; }
public string ParentID { get; set; } //This can be null / blank.
}