A formula is just an ordinary property so needs to use the extra lazy
loading rather than just lazy loading.



On 19 Nov 2010, at 13:27, von <vonbvillafue...@gmail.com> wrote:

> One of the property of my class is mapped to a function. My mapping
> looks like this:
>
> mapping.Map(x => x.FormulaField, "FormulaField")
>                .Formula("FUNCTION_NAME")
>                .LazyLoad();
>
> NOTE: mapping is an instance of AutoMapping<T>
>
> When I checked the SQL generated the "FormulaField" column is being
> selected. What am I missing?
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Fluent NHibernate" group.
> To post to this group, send email to fluent-nhibern...@googlegroups.com.
> To unsubscribe from this group, send email to 
> fluent-nhibernate+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/fluent-nhibernate?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibern...@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.

Reply via email to