Marks a field as Value Object. A value object is immutable, has no identity
and is mapped as part of its owning Entity . Example Value Objects
are Money or Address.
Namespace:
Mindscape.LightSpeedAssembly: Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)
Syntax
C# |
---|
[AttributeUsageAttribute(AttributeTargets.Field, AllowMultiple = false, Inherited = false)] public sealed class ValueObjectAttribute : Attribute |
Visual Basic (Declaration) |
---|
<AttributeUsageAttribute(AttributeTargets.Field, AllowMultiple := False, Inherited := False)> _ Public NotInheritable Class ValueObjectAttribute _ Inherits Attribute |