PortDtoDefaultValue Property

The default value assigned to this object.

Definition

Namespace: MobileTrack.Common.Models.ActionFlows
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public Object DefaultValue { get; set; }

Property Value

Object

Implements

IHasDefaultValueDefaultValue

Remarks

The value must always be stateful; it cannot be It must represent the default state of a value-type struct.
This is except for Identifiers, which is why Empty is not allowed.
Valid examples of default values include: a String (Empty), Guid (not Empty), Double (0.0d), GeoLocation (Empty), and so on.
To represent empty Identifiers (Empty), use an Int32 of value 0, similar to NULL in the C Programming Language.

See Also