Hi,
I am trying to get automapping of nested components.
I have no problem automapping a value objecect component within an entity. 
But if my top level component hasubcomponents the maooing fails.
Does anyone ahve any ideas

I do a top level store and a copoment Position

   public class Store : Entity
    {
        public virtual Position position { get; set; }
    }
 where 

 public class Position : ValueObject
    {
        //string name;
        public decimal Latitude { get; set; }
        public decimal Longitude { get; set; }

    }

This works

If I now change position to use another component, Coordinate, it dowsn't 
work
I.e 
 public class Position : ValueObject
    {
        //string name;
        public Coordinate position { get; set; }
    }

 public class Coordinate : ValueObject
    {

        public decimal Latitude { get; set; }
        public decimal Longitude { get; set; }

    }

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fluent-nhibernate.
For more options, visit https://groups.google.com/d/optout.

Reply via email to