The DefaultValue type exposes the following members.

Methods

  NameDescription
Public methodStatic memberBoolean
Bool default value
Public methodStatic memberDateTime
DateTime default value
Public methodStatic memberDecimal
Decimal default value
Public methodStatic memberGuid
Guid default value
Public methodStatic memberInteger
Int default value
Public methodStatic memberRandomString
A new value is a new random string
Public methodStatic memberString
String default value

Properties

  NameDescription
Public propertyStatic memberNewGuid
New Guid as default value. Generate a new unique Guid.
Public propertyStatic memberNow
'Now' as a default value (time stamp)
Public propertyValue
The default value.
Public propertyValueType
Type of the default value

See Also