internal bool IsRelatedEntity(LinkDescriptor related) { return this.entity == related.Source || this.entity == related.Target; }