public class GroupMap : ClassMap<Group>
{
public GroupMap()
{
....
Map(x => x.Segment)
.LazyLoad();
}
}
In my application I want this property not to be a LazyLoad. I tried some methods like this:
public class MyGroupMap : GroupMap
{
public MyGroupMap() : base()
{
Map(x => x.Segment)
.Not.LazyLoad();
}
}
And Adding this class to Mappings. But it only generates a runtime exception(Property Segment was already mapped. Obvious). Any suggestions? I think Properties property might help, but it is deprecated.
--
You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group.
To view this discussion on the web visit https://groups.google.com/d/msg/fluent-nhibernate/-/-5AbXPY55bQJ.
To post to this group, send email to fluent-n...@googlegroups.com.
To unsubscribe from this group, send email to fluent-nhibern...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/fluent-nhibernate?hl=en.