SizeAttribute class

namespace: Serenity.Data.Mapping   assemblySerenity.Net.Data

Determines size (max length or numeric precision for) for the field.

[AttributeUsage(AttributeTargets.All)]
public class SizeAttribute : Attribute

Public Members

name description
SizeAttribute(…) Initializes a new instance of the SizeAttribute class.
Value { get; set; } Gets or sets the value.

See Also