Skip to content

UpdatableAttribute class

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Controls if this field is editable in update record mode. When used with fields, turns on or off the updatable flag.

[AttributeUsage(AttributeTargets.All)]
public class UpdatableAttribute : Attribute
parameter description
updatable True to make the field updatable.

Public Members

name description
UpdatableAttribute(…) Controls if this field is editable in update record mode. When used with fields, turns on or off the updatable flag.
Value { get; } Gets a value indicating whether this UpdatableAttribute is enabled.

Remarks

When placed on a field, this attribute controls whether the field is included when updating an existing record.

See Also