[nhusers] Re: Proxy Validator changes in 2.1

2009-09-27 Thread Brendan Kowitz
Thanks Fabio. NHibernate seems to have a switch and setting for everything which is great. I was also directed to the Jira ticket for the change here: http://nhjira.koah.net/browse/NH-1515 (via http://stackoverflow.com/questions/1485127/nhibernate-proxy-validator-changes-in-2-1). Trying to underst

[nhusers] Re: Proxy Validator changes in 2.1

2009-09-27 Thread Fabio Maulo
internal virtual can't be intercepted.If you want you can simply turn off de proxy validator and manage any kind of surprise by yourself. false 2009/9/27 Brendan Kowitz > > Hi, > > Can someone please help me understand the following: > > In the previous version of NH (2.0.1) the following proper

[nhusers] Proxy Validator changes in 2.1

2009-09-27 Thread Brendan Kowitz
Hi, Can someone please help me understand the following: In the previous version of NH (2.0.1) the following property will validate and is compatible with the Castle Proxies: internal virtual BusinessObject Parent { get { /*code*/ } } However, in 2.1 it errors saying that the types should be

[nhusers] Re: DateTime2 SQL2008 millisecond bug?

2009-09-27 Thread Dario Quintana
Thanks ! I will have a look soon. Cheers ;) On Sun, Sep 27, 2009 at 7:24 AM, Graham Bunce wrote: > > Dario, > > I've updated NH-1973 with the latest version of the test case. > > I'll have a look in the NH code to see if I can work out how to fix > it, but I've only just downloaded the codebase

[nhusers] Duplicate Class/Entity Mapping Error

2009-09-27 Thread Roger
I have this domain hierarchy: User -> EntityWithAuditDate -> Entity Here is the domain: (simplified) public class User : EntityWithAuditDate { public User(){} public virtual string Name { get; set; } } public abstract class EntityWithAuditDate : Entity

[nhusers] Re: component with a non default .ctor

2009-09-27 Thread Jan Limpens
Yes it was - it was just for the brevity of you first answer that I was unable to put it into context. Great! Thanks! 2009/9/27 Roger Kratz : > > Wasn't that what you were looking for? > http://www.nhforge.org/doc/nh/en/index.html#components-dependentobjects > > "The element allows a subelement

[nhusers] Re: DateTime2 SQL2008 millisecond bug?

2009-09-27 Thread Fabio Maulo
Graham,If you copy&paste the explication you have sent to the dev-list in the NH-1973 ticket would be fine. Don't worry about the fix (it is easy for us). 2009/9/27 Graham Bunce > > Dario, > > I've updated NH-1973 with the latest version of the test case. > > I'll have a look in the NH code to s

[nhusers] Re: DateTime2 SQL2008 millisecond bug?

2009-09-27 Thread Graham Bunce
Dario, I've updated NH-1973 with the latest version of the test case. I'll have a look in the NH code to see if I can work out how to fix it, but I've only just downloaded the codebase and haven't even got it to compile yet ;) --~--~-~--~~~---~--~~ You received th

SV: [nhusers] Re: component with a non default .ctor

2009-09-27 Thread Roger Kratz
Wasn't that what you were looking for? http://www.nhforge.org/doc/nh/en/index.html#components-dependentobjects "The element allows a subelement that maps a property of the component class as a reference back to the containing entity. " Från: nhusers@go