Skip to content

Instantly share code, notes, and snippets.

View AlessandroDalMas's full-sized avatar

Alessandro Dal Mas AlessandroDalMas

  • Italy
View GitHub Profile
@vkhorikov
vkhorikov / full.cs
Last active April 4, 2021 10:19
Hierarchy of value objects - full code
public class Person : Entity
{
public virtual string Name { get; set; }
private readonly DocumentContainer _document;
public virtual Document Document
{
get => _document.Document;
set => _document.Document = value;
}