I have a stored procedure that returns a table in XML format.At the end of the script I have
for xml auto
I tried to read it as below
var data = db.Database.SqlQuery<string>("exec spGetDataInXML").ToString();
But when I debug it data variable holds below value
exec spGetDataInXML