My C# class has the following:

public virtual IList<Fill> Fills{ get; set; }

I implemented IHasManyConvetion, IManyToOneInstance, and
IHibernateMappingConvention to include Not.LazyLoad() and
Not.DefaultLazy() yet my exported mapping file has:

<bag cascade="all" inverse="true" lazy="true" name="Fills">
      <key>
        <column name="order_id" />
      </key>
      <one-to-many class="vo.Fill, Common, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null" />
    </bag>

My cfg also has
.Conventions.AddFromAssemblyOf<PropertyUnderscoreConvention>()) so the
conventions are being applied.

why does my mapping file still have lazy=true?  Am i missing
something?



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to