Skip to content

Commit

Permalink
Added a comment about Addess as Value Object and EF Core 2.0 onwed en…
Browse files Browse the repository at this point in the history
…tity
  • Loading branch information
CESARDELATORRE committed Nov 7, 2017
1 parent 16ee563 commit 625f532
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public class Order
// aligned with DDD Aggregates and Domain Entities (Instead of properties and property collections)
private DateTime _orderDate;

// Address is a Value Object pattern example persisted as EF Core 2.0 owned entity
public Address Address { get; private set; }

private int? _buyerId;
Expand Down

0 comments on commit 625f532

Please sign in to comment.