To include detail editor you can use [EditorAlias(EditorAliases.DetailPropertyEditor)] attribute, but if I am not mistaken this would only work for 1-1 relationships (i might be wrong - check in the documentation)
Also worth looking at is this attribute: [ExpandObjectMembersAttribute(ExpandObjectMembers.Never)]
Hope this at least points you in a right direction.