<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0-preview.7.20364.11" />

System.ComponentModel.DataAnnotations.EditableAttribute

public sealed class EditableAttribute : Attribute
Indicates whether a data field is editable.
namespace System.ComponentModel.DataAnnotations { public sealed class EditableAttribute : Attribute { public bool AllowEdit { get; } public bool AllowInitialValue { get; set; } public EditableAttribute(bool allowEdit); } }