ComponentOne DataObjects for .NET
HasDefaultValueOnServer Property (Field)

C1.Data.2 Assembly > C1.Data.SchemaObjects Namespace > Field Class : HasDefaultValueOnServer Property
Gets or sets whether this field has a default value in the database.
Syntax
'Declaration
 
Public Overridable Property HasDefaultValueOnServer As System.Boolean
public virtual System.bool HasDefaultValueOnServer {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.
See Also

Reference

Field Class
Field Members