Yep it is a good idea....but i was just wondering can we use any API
of NHibernate as a inline view kind of thing..

On Aug 19, 3:11 pm, Gustavo Ringel <[email protected]> wrote:
> 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.- Hide quoted text -
>
> - Show quoted text -

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