1.Database platform: SqlServer
2.Data Access: nHibernate 1.2
Now we need access the store procedure by nHibernate,like this:
ALTER PROCEDURE TestProc()
AS
BEGIN
Select * From User
Return 1234
END
I know I can get the User List by IQuery, And I want to get the default return value "1234" too.
Question:
- How to get this default return value?
- If can't get it directly , can we get the value by output parameter?