Skip to content

Entity Framework ReadOnlyAttribute [Common]

Victor Tomaili edited this page May 3, 2021 · 1 revision

[namespace: System.ComponentModel] - [assembly: System.dll]

This attribute con be used to make a field read-only or not. This attribute is applicable on entity row or form level.

public class XYZForm
{
    [ReadOnly]
    public Int32 IdCode { get; set; }

    [...]

See also:

Clone this wiki locally