I have the following mapping for a Relation in Castle AR
[BelongsTo("EVENT_ID", Lazy = FetchWhen.OnInvoke)]
public EventType PayEvent
{
get
{
return m_PayEvent;
}
set
{
m_PayEvent = value;
}
}
But the Relation is fetched even if the property is not invoked.Is there anything missing here? I am using SessionScope as well.