public class Order
{
public int Id;
public string CustomerName;
public DateTime OrderDate;
public List<OrderLine> Lines;
}
public class OrderLine
{
public decimal Quantity;
public decimal UnitPrice;
public Product Product;
}
public class Product
{
public int Id;
public string Name;
public decimal DefaultUnitPrice;
}
我对如何执行此查询感到非常困惑,我试图CustomerName
根据订单总数显示升序。提前致谢。