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
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
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
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
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
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
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
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
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