Public Class Payment
Public Property PaymentID As Integer
Public Property Amount As Double
Public Property DatePaid As Date
End Class
Public Class Customer
Public Property CustomerID As Integer
Public Overridable Property Payments As ICollection(Of Payment)
End Class
OnModelCreatingで、PaymentsコレクションをDatePaidの降順で並べ替える必要があることを定義する方法はありますか。Paymentsコレクションが常に最新のPaymentで始まり、最も早いPaymentで終わるように?