I have an entity called
Public Class Equipment
{
int Id;
string EquipmentName;
int? ParentEquipmentId;
}
So have this entity where an equipment can have a parent and child relationship. I want to fetch the parent equipment and also all the children of the equipment associated with it.
Can i have ICollection on the entity to fetch me the childrens??