select new Something(c1.Prop, c2.Pprop) from Class1 c1, Class2 c2
On Thu, Aug 19, 2010 at 5:44 AM, 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]<nhusers%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/nhusers?hl=en.
>
>
--
Fabio Maulo
--
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.