Unable to map overridden property.

Henk Huisman's Avatar

Henk Huisman

11 Jun, 2010 03:18 PM via web

Hi,

I am trying to upgrade to version 1.1 of Fluent, but ran into a problem. I have the following case:

abstract Class A : {
Property X }

Class B : A {
Override Property X }

Class C : A {
Override Property X }

Class A, B and C are mapped to the same table using a discriminator value in a ClassMap and SubclassMap (see attached file). After upgrading an error occurs:

Tried to add property 'X' when already added

Any ideas?

Kind regards,
Henk

    Reply to this discussion

    Preview Comments are parsed with Markdown. Help with syntax

    Attached Files

      You can attach files up to 10MB

      What is fifteen divided by three?