Marks a field as Value Object. A value object is immutable, has no identity
and is mapped as part of it's owning Entity . Example Value Objects
are Money or Address.

C# | Visual Basic |
[AttributeUsageAttribute(AttributeTargets.Field, AllowMultiple = false, Inherited = false)] public sealed class ValueObjectAttribute : Attribute
<AttributeUsageAttribute(AttributeTargets.Field, AllowMultiple := False, Inherited := False)> _ Public NotInheritable Class ValueObjectAttribute _ Inherits Attribute

All Members | Constructors | ||||
Icon | Member | Description |
---|---|---|
![]() | ValueObjectAttribute()()() |