Gets or sets whether this field has a default value in the database.
Namespace:
C1.Data.SchemaObjectsAssembly: C1.Data.2 (in C1.Data.2.dll)
Syntax
C# |
---|
[XmlAttributeAttribute] [DefaultValueAttribute(false)] public virtual bool HasDefaultValueOnServer { get; set; } |
Visual Basic (Declaration) |
---|
<XmlAttributeAttribute> _ <DefaultValueAttribute(False)> _ Public Overridable Property HasDefaultValueOnServer As Boolean Get Set |
Remarks
If this property is set to True, an attempt to assign null or empty string value to this field of the newly added row will not generate an exception even if the AllowDbNull property is set to False for this field.
The default value for this property is False.