December 2019
Intermediate to advanced
598 pages
12h 21m
English
Try to answer the following questions to check the knowledge that you have gained in this chapter:
using (var connection = new SqlConnection(_connectionString)){ connection.Open(); using (GridReader results = connection.QueryMultiple( @"EXEC dbo.Order_GetHeader @OrderId = @OrderId; EXEC dbo.OrderDetails_Get_ByOrderId @OrderId = @OrderId", new { OrderId = orderId })) { // TODO - Read the order and details from the query result return order; }}
What are the missing statements that will read the order and its details from the results putting the details in ...
Read now
Unlock full access