Your mapping of class asdas _must_ have a mapping to asda. Please provide a sample of your mapping classes.
If they do not have a mapping the only way to do this in code is with sql-based query or Linq-To-Object (not NHibernate LINQ) John Davidson 2010/8/16 osman nuri katib <[email protected]> > No they are mapped.I want to get data 3 tables.(3 class) > How can I do this in code. > > for example: > > session.createCriteria("asdas").join("asda") > ....... > I'm looking for like this > > > > 2010/8/16 John Davidson <[email protected]> > >> If they are not mapped then use ISqlQuery. >> >> John Davidson >> >> >> On Mon, Aug 16, 2010 at 8:13 AM, osman nuri katib < >> [email protected]> wrote: >> >>> Ok.Mapping is a way.But ı want to get data from three classes in code.How >>> can ı do this? >>> >>> >>> 2010/8/16 John Davidson <[email protected]> >>> >>> Mappings are the normal way to associate classes, which will result in >>>> table joins. >>>> >>>> John Davidson >>>> >>>> On Mon, Aug 16, 2010 at 7:56 AM, osman nuri katib < >>>> [email protected]> wrote: >>>> >>>>> Hello everybody, >>>>> >>>>> İs there any way to join the tables excepting hql...(in C#) >>>>> >>>>> thank you >>>>> >>>>> -- >>>>> 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. >>>>> >>>> >>>> -- >>>> 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. >>>> >>> >>> >>> >>> -- >>> Osman Nuri KATİB >>> YTÜ >>> Bilgisayar Mühendisliği >>> >>> -- >>> 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. >>> >> >> -- >> 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. >> > > > > -- > Osman Nuri KATİB > YTÜ > Bilgisayar Mühendisliği > > -- > 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. > -- 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.
