[DevExpress Support Team: CLONED FROM T317573: EF Connection string for xaf ReportDataV2]
No, thats not it because it doesnt give me the ability to bind to the output of a stored procedure.
My Stored Proc returns a list of string results
I tried the following
C# class ReportsDB : jtDbContext
{
public IList<SPResultString> CancelOrders()
{
return GetSpResults("TestOrders");
}
}
where in jtDBContext I have
public IList<SPResultString> GetSpResults(string spName)
{
return Database.SqlQuery<SPResultString>(spName).ToList();
}
and the SPResultString is
public class SPResultString
{
public string Result { get; set; }
}
When I try to use ReportsDB the StoredProc result will not appear.
http://screencast.com/t/MphMJYfRYIp6