/// <summary> /// Specify the lazy behaviour of this relationship. Cannot be used /// with the <see cref="Not"/> modifier. /// </summary> /// <param name="laziness">Laziness strategy</param> /// <example> /// LazyLoad(Laziness.NoProxy); /// </example> public ManyToOnePart <TOther> LazyLoad(Laziness laziness) { attributes.Set("Lazy", Layer.UserSupplied, laziness.ToString()); nextBool = true; return(this); }
/// <summary> /// Specify the lazy behaviour of this relationship. Cannot be used /// with the <see cref="Not"/> modifier. /// </summary> /// <param name="laziness">Laziness strategy</param> /// <example> /// LazyLoad(Laziness.NoProxy); /// </example> public OneToOnePart <TOther> LazyLoad(Laziness laziness) { attributes.Set(x => x.Lazy, laziness.ToString()); nextBool = true; return(this); }