using NHibernate.Engine;
namespace NHibernate.Intercept{
public struct LazyPropertyInitializer
{
/// <summary> Marker value for uninitialized properties</summary>
public readonly static object UnfetchedProperty= new object();
}
/// <summary> Contract for controlling how lazy properties get initialized. </summary>
public interface ILazyPropertyInitializer
{
/// <summary> Initialize the property, and return its new value</summary>
object InitializeLazyProperty(string fieldName, object entity, ISessionImplementor session);
}
}
|