using System; namespace Umbraco.Core.Persistence.DatabaseAnnotations { /// /// Attribute that represents the length of a column /// /// Used to define the length of fixed sized columns - typically used for nvarchar [AttributeUsage(AttributeTargets.Property)] public class LengthAttribute : Attribute { public LengthAttribute(int length) { Length = length; } /// /// Gets or sets the length of a column /// public int Length { get; private set; } } }