public Category GetParent() { // note: I just made this up, you would use whatever EF method you have... return(EF.GetEntity <Category>(this.ParentId)); }