// Nuget package System.ComponentModel.Annotations using System.ComponentModel.DataAnnotations; public class Item { // NOTE: This attribute is set to true by default [DisplayAttribute(AutoGenerateField = false)] public int Id { get; set; } }