InsertableAttribute class

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

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

[AttributeUsage(AttributeTargets.All)]
public class InsertableAttribute : Attribute

Public Members

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

See Also