Added a comment about Addess as Value Object and EF Core 2.0 onwed entity
This commit is contained in:
parent
16ee563112
commit
625f53213b
@ -15,6 +15,7 @@ namespace Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.O
|
|||||||
// aligned with DDD Aggregates and Domain Entities (Instead of properties and property collections)
|
// aligned with DDD Aggregates and Domain Entities (Instead of properties and property collections)
|
||||||
private DateTime _orderDate;
|
private DateTime _orderDate;
|
||||||
|
|
||||||
|
// Address is a Value Object pattern example persisted as EF Core 2.0 owned entity
|
||||||
public Address Address { get; private set; }
|
public Address Address { get; private set; }
|
||||||
|
|
||||||
private int? _buyerId;
|
private int? _buyerId;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user