renafi Posted October 29, 2009 at 10:51 PM Report Share #293955 Posted October 29, 2009 at 10:51 PM Boas. Como é que, executando um stored procedure que faça vários selects, depois com linq, consigo capturar o resultado de cada select? Claro, tendo já o datacontext criado e com o método do stored procedure criado. Ex do stored procedure: Create procedure as begin select * from tabela1 select * from tabela2 select * from tabela3 end Oracle Certified Professional - AdministraçãoOracle Certified Professional - Pl/sqlMCPD - Microsoft Certified Professional DeveloperMCTS - Microsoft Certified Technology Specialist Link to comment Share on other sites More sharing options...
bruno1234 Posted October 29, 2009 at 10:59 PM Report Share #293958 Posted October 29, 2009 at 10:59 PM Se estás a usar linq 2 sql podes usar a interface IMultipleResult. http://weblogs.asp.net/scottgu/archive/2007/08/16/linq-to-sql-part-6-retrieving-data-using-stored-procedures.aspx Matraquilhos para Android. Gratuito na Play Store. https://play.google.com/store/apps/details?id=pt.bca.matraquilhos Link to comment Share on other sites More sharing options...
renafi Posted October 29, 2009 at 11:27 PM Author Report Share #293961 Posted October 29, 2009 at 11:27 PM É isso. Ajudou. Obrigado Oracle Certified Professional - AdministraçãoOracle Certified Professional - Pl/sqlMCPD - Microsoft Certified Professional DeveloperMCTS - Microsoft Certified Technology Specialist Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now