Specifies the default value for the DTO field generated for the property this attribute is bound to.
For a list of all members of this type, see WopDefaultValueAttribute Members.
System.Object
Attribute
WopDefaultValueAttribute
The WopDefaultValueAttribute specifies the default value for the DTO field generated for the property this attribute is bound to.
The default value will be serialized for a presistent instance if
To reduce the data transfer overhead WOP compiler will tag the generated DTO field with the proper DefaultValueAttribute attribute using the default value specified.
If the default value is not specified, the default instance will be used for
value-type fields (
The WopDefaultValueAttribute attribute cannot be used for referential or collection properties. The default value for these properties is always a null reference.
Namespace: TechTalk.Genome.Wop
Assembly: TechTalk.Genome.Wop (in TechTalk.Genome.Wop.dll)
Version: 4.2.4.4
Editions: Professional, Community, Evaluation
WopDefaultValueAttribute Members | TechTalk.Genome.Wop Namespace