Hi Ritesh, There are some examples in the test-suite.
An example of creating & mapping SQL Server stored procedures is here: http://nhibernate.svn.sourceforge.net/viewvc/nhibernate/trunk/nhibernate/src/NHibernate.Test/SqlTest/Custom/MsSQL/MSSQLEmployment.hbm.xml?view=markup And an example of using them is here: http://nhibernate.svn.sourceforge.net/viewvc/nhibernate/trunk/nhibernate/src/NHibernate.Test/SqlTest/Custom/CustomStoredProcSupportTest.cs?view=markup Hope that helps. Regards, Richard -------------------------------------------------- From: "ritesh joshi" <[email protected]> Sent: Wednesday, October 28, 2009 7:26 AM To: "nhusers" <[email protected]> Subject: [nhusers] NHibernate + Stored Procedure > > I have a stored procedure at Backend in MSSQL. My stored procedure has > a select statement which returns join of 3 tables. I want to map it in > my hbm file. Can any one help on this. Also what kind of result set > would be returned. > > I am quite new to Nhibernate, so I would appreciate your help > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
