[fluent-nhib] Re: ITypeConvention using multiple columns - how?

2009-01-13 Thread James Gregory
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. On Tue, Jan 13, 2009 at 9:33 AM, mcintyre321 mcintyre...@gmail.com wrote: I've created a handy class called

[fluent-nhib] Re: ITypeConvention using multiple columns - how?

2009-01-13 Thread mcintyre321
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

[fluent-nhib] Re: ITypeConvention using multiple columns - how?

2009-01-13 Thread James Gregory
I can't say either way, I don't have that much experience in implementing composite user types. I don't think it'd be impossible though. On Tue, Jan 13, 2009 at 10:37 AM, mcintyre321 mcintyre...@gmail.com wrote: Cheers James. Will look into it. In fact, I'm kindof hoping this might be