-
Notifications
You must be signed in to change notification settings - Fork 22
Aggregation
Leonardo Porro edited this page Dec 16, 2022
·
1 revision
It's a relationship where child can exist independently of the parent.
public class Invoice
{
public Guid Id { get;set; }
public DateTime DateTime { get; set; }
[Aggregation]
public InvoiceType Type { get; set; }
}
public class InvoiceType
{
public Guid Id { get; set; }
public string Name { get; set; }
}