SizeAttribute class

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

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

[AttributeUsage(AttributeTargets.All)]
public class SizeAttribute : Attribute
parameter description
value The value.

Public Members

name description
SizeAttribute(…) Determines size (max length or numeric precision for) for the field.
Value { get; set; } Gets or sets the value.

Remarks

Initializes a new instance of the SizeAttribute class.

See Also