December 2019
Intermediate to advanced
598 pages
12h 21m
English
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 the order model? The order model is of the OrderGetSingleResponse ...
Read now
Unlock full access