ComponentOne DataObjects for .NET
UpdateSet Property (DbTableField)

C1.Data.2 Assembly > C1.Data.SchemaObjects Namespace > DbTableField Class : UpdateSet Property
Gets or sets a value indicating whether the field value is set in the database record.
Syntax
'Declaration
 
Public Property UpdateSet As FieldUpdateSetModeEnum
public FieldUpdateSetModeEnum UpdateSet {get; set;}
Remarks
If this property is set to Always, the value in the database is always modified, set to the current field value. If it is set to Never, the value in the database is always left unchanged. If it is set to IfChanged (default), the value in the database is set to the current field value if the current field value is different from the original field value as it was last fetched from the database. The original value can be retrieved using C1.Data.C1DataRow.Item (field, C1.Data.DataRowVersionEnum.Original).
See Also

Reference

DbTableField Class
DbTableField Members
Table Fields
Updating the Database