IComponentConvention and nested Components

Russ's Avatar

Russ

14 Mar, 2010 12:23 PM via web

Hi There,

My domain currently has nested value objects and hence this translates to nested components.

Fluent does a great job if it is a single level of nesting, however on a second level of nesting it only takes into consideration the name of the immediate parent component.

Take the following
Building-->RightWall-->CladdingSpecification-->property1,2,3

           -->LeftWall-->CladdingSpecification-->property1,2,3

Currently all but the Building are Value Types.

I want a convention where I get RightWall_CladdingSpecification_Property1.
Currently I get two components with the same
CladdingSpecification_Property1 (for RightWall)
CladdingSpecification_Property1 (for LeftWall).

This is fine, however I can not see how I can possibly change the value of the column using the IComponentConvention, or any other way for that matter.

Any suggestions would be immensely appreciated.

    Reply to this discussion

    Preview Comments are parsed with Markdown. Help with syntax

    Attached Files

      You can attach files up to 10MB

      What is the opposite of bad?