did you consider to map to a database view?

On 8/19/10, NHibernate1 <[email protected]> wrote:
> Could anyone suggest me on whether we can create a  hibernate mapping
> file based on SELECT statement on different tables?
> Something like below-
> SELECT statement -  select PersonName, PersonId from Person P, ID I;
> Person.cs -
> class Person
> {
> string PersonName { get; set; }
> int PersonId {get; set;}
> }
>
> --
> 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.
>
>

-- 
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