Click or drag to resize

IFieldLocked Property

Indicates whether the field should be locked. The property evaluates to true if the column is locked due to any of a number of reasons, including:
  • The field's Locked attribute is set.
  • The field is locked due to ObjectPermissions reasons.
  • The field's table does not have a primary key identified or the field is marked ExcludeFromSelect.
  • The field's mapper does not allow insert/update (as applies to the current record state), e.g. the mapper's DenyInsert and/or DenyUpdate is set.
  • The field is an identity column.
  • The field is RowLocked.
  • Locked was set programmatically.
You can set Locked programmatically if desired.

Note that a locked field will be locked in the application UI, but may still be set programmatically (that is, it is not locked against programmers).

Namespace:  NetQuarry.Data
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
bool Locked { get; set; }

Property Value

Type: Boolean
See Also