Skip to content

Nested lazy load #500

Open
Open
@robertovaldesperez

Description

@robertovaldesperez

Hello, I have this configuration:

Development.cs
HasMany (x => x.Assets) .KeyColumn ("Promotion_ID"). NotFound.Ignore (). LazyLoad (). Cascade.AllDeleteOrphan (). AsSet ();

Asset.cs
References(x => x.Estate).Column("EstateId").NotFound.Ignore().Fetch.Join().LazyLoad().ReadOnly();
References(x => x.Property).Column("PropertyId").NotFound.Ignore().Fetch.Join().LazyLoad().ReadOnly();

When I do a NHibernateUtil.Initialize (development.Assets)

This automatically initializes asset.Property and Property is Lazyload

Best Regards, Roberto.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions