namespace System.ComponentModel.DataAnnotations { /// /// Used to mark one or more entity properties that provide the entity's unique identity /// [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false, Inherited = true)] public sealed class KeyAttribute : Attribute { } }