Cheers James. Will look into it. In fact, I'm kindof hoping this might
be possible eventually
suppose we have a class
class GridSection{
LatLng NorthEast{get;set;}
LatLng SouthWest {get;set;}
}
and our class MyEntity has a CurrentGridSection property
so we end up with columns
dbo.MyEntity.CurrentGridSection_NorthEast_Lat
dbo.MyEntity.CurrentGridSection_NorthEast_Lng
dbo.MyEntity.CurrentGridSection_SouthWest_Lat
dbo.MyEntity.CurrentGridSection_SouthWest_Lng
i.e. it is recursively examining the types when it tries to make the
columns.
On Jan 13, 9:40 am, James Gregory <
jagregory....@gmail.com> wrote:
> I think you need to be looking at a ICompositeUserType from NHibernate,
> which you should then be able to specify with CustomTypeIs when mapping your
> CurrentLocation.
>