tags:

views:

20

answers:

0

Hello there,

I'm new using C# and Linq, I hope you can give me hand on this.

First, I have a SP on my DB basically called like this: ALTER PROCEDURE [dbo].[getUsersThemesXML] @xmlUsers XML OUTPUT AS...etc...

I'm working with MVC so, from my controller I have to call the SP with the empty XML as parameter and get it on the application server side. The thing is I don't have any idea how to do it with Linq. Still getting errors to parse data types and some other things... I'm totally lost here... any help please?

    public ActionResult getThemes()
    {
       XmlDocument xmlDom = new XmlDocument();
       ClasesDataContext db = new ClasesDataContext();
....

    }