How do I configure Entity Framework using fluent configuration to behave the same way that I would do this with attributes:
public class Product
{
public int? ParentId { get; set; }
[ForeignKey("ParentId")]
public virtual Product Parent { get; set; }
}