Interview questions from hell

time to read 2 min | 330 words

Given this:

   1: SecureFindAll(
   2:    "Order.View",
   3:    Where.Order.Customer.User == CurrentUser,
   4:    delegate(Order order) { return order.Customer}
   5: );

Juxtapose the usage and the reasoning.

Hint: Customer is an aggregate in DDD terms.