From: Fabio M. (JIRA) <nh...@gm...> - 2011-04-11 11:29:09
|
[ http://216.121.112.228/browse/NH-2638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20883#action_20883 ] Fabio Maulo commented on NH-2638: --------------------------------- And which is the difference between the mapping through XML and the XML of the mapping by-code ? To see the XML you can use: var mapping = mapper.CompileMappingForAllExplicitAddedEntities(); Console.WriteLine(mapping.AsString()); > Id Property With Private Setter Not Set With Lazy Classes > --------------------------------------------------------- > > Key: NH-2638 > URL: http://216.121.112.228/browse/NH-2638 > Project: NHibernate > Issue Type: Bug > Components: Core > Affects Versions: 3.2.0 > Reporter: Ricardo Peres > Attachments: Test.cs > > > When I have a class with a private id setter, if the class is lazy, then the id is not set. > No exception occurs, it simply is not set. Mapping is done with the new mapping by code. > Tested with the trunk version, as of 00:00. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |