Set lazy="extra" how ?

Martin F's Avatar

Martin F

13 Apr, 2010 11:08 PM via web

Hello,

how can i set lazy="extra" for my HasMany relationships ?

I am aware there is no method for setting it, but i guess it must be possible somehow to write an attribute manually ?

Best regards

Martin

  1. 2 Posted by Martin F on 13 Apr, 2010 11:24 PM

    Martin F's Avatar

    It seems SetAttribute() method have been removed, and it is no longer possible to set an attribute manually.... ?

  2. Support Staff 3 Posted by Paul Batum on 25 Apr, 2010 02:49 PM

    Paul Batum's Avatar

    Hi Martin,

    You might already know this, but my dev branch has support for lazy-extra. You can get it here:
    http://github.com/paulbatum/fluent-nhibernate/commits/dev/

    It shouldn't be too long before this is in the official trunk.

    I've already forgotten the details of who sent me this change so my apologies if that was actually you or if I've already told you about it.

  3. Support Staff 4 Posted by Paul Batum on 16 May, 2010 06:49 AM

    Paul Batum's Avatar

    This is now in the official master.

  4. Paul Batum closed this discussion on 16 May, 2010 06:49 AM.

  5. Martin F re-opened this discussion on 16 May, 2010 11:41 AM

  6. 5 Posted by Martin F on 16 May, 2010 11:41 AM

    Martin F's Avatar

    Thanks, already have it working with NH 3 :)

  7. James Gregory closed this discussion on 16 May, 2010 04:41 PM.

Comments are currently closed for this discussion. You can start a new one.