ComponentOne DataObjects for .NET
ReadOnlyUnlessNew Property (Field)

C1.Data.2 Assembly > C1.Data.SchemaObjects Namespace > Field Class : ReadOnlyUnlessNew Property
Gets or sets a value indicating whether modifications to field values are allowed only in newly added rows.
Syntax
'Declaration
 
Public Overridable Property ReadOnlyUnlessNew As System.Boolean
public virtual System.bool ReadOnlyUnlessNew {get; set;}
Remarks
If this property is set to True, modifying this field's values is allowed only in newly added rows and that only while the row is in detached state (EndEdit not yet called, see Keys Assigned by Client: New Row Detached and Attached State) The effective value of this property at run time (see EffectiveReadOnlyUnlessNew) for fields based on other fields (composite table fields, table view fields) is True if the base field's property value is True, even though the property value itself is independent of the base field's property value.
See Also

Reference

Field Class
Field Members
Keys Assigned by Client: New Row Detached and Attached State
Table Fields
EffectiveReadOnlyUnlessNew Property