ISession.CreateSQLQuery(), or use a named-query. See the NHibernate reference documentation.
/Oskar 2013/1/24 Alexander Byndyu <[email protected]>: > Hello, > > How can I create query: > > SELECT * > FROM Post po > INNER JOIN GetPostBySearchQuery('search query') s ON s.Id = po.PostId > > GetPostBySearchQuery - table-valued function, returns PostId list. > > > -- > You received this message because you are subscribed to the Google Groups > "nhusers" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/nhusers/-/LJzQI01UoyQJ. > 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.
