我很难从存储过程中获取两个表。到目前为止它只返回第一个表,我的代码如下:
seat_plan seatP = new seat_plan();
apiModel api = new apiModel();
try
{
seatP.seats = new apiModel().Database.SqlQuery<seat_plan_seat>("EXEC LWP_SEAT_PLAN {0}", perf);
seatP.labels = new apiModel().Database.SqlQuery<seat_plan_label>("EXEC LWP_SEAT_PLAN {0}", perf);
}
catch (Exception) { }
return seatP;
有什么想法吗?