Open
Description
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
Labels
No labels