public virtual string FullName{
    get { return FirstName +" " + LastName; }
}

On Sat, Feb 14, 2009 at 7:57 PM, mantzas <[email protected]> wrote:

>
> Hi,
>
> i have a class with first and last name.
> The values are mapped.
>
> If i wish to create the Fullname Property that is simply the
> concatenation of these two, and i dont want to persist, how can i do
> it.
>
> I tried but nhibernate expects a mapping for this property and throws
> a exception.
>
> Thx
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to