Quiz: Query Data
Review your knowledge of query data.
Quiz on Query Data
1
Which option best completes the inner join below?
var orderSupplierQuery = from ord in orders
join sup in suppliers
//complete the code
select new
{
OrderId = ord.Id,
SupplierName=sup.Title
};
A)
on ord.OrderId == sup.SupplierId
B)
on ord.OrderId into sup.SupplierId
C)
on ord.OrderId != sup.SupplierId
D)
on ord.OrderId equals sup.SupplierId
Question 1 of 50 attempted
Get hands-on with 1200+ tech skills courses.