var query = DataSession.Session.CreateSQLQuery("EXEC usp_test @Id=:Pid, @Name=:Name"); query.SetInt32("Pid",1); query.SetParameter("Name","testname"); query.AddEntity(typeof(MyEntity)); var returnData = query.List<MyEntity>();
CreateSQLQuery
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)