Data Annotations
Data Annotations Required for anything that is not null: [Required] DataType for anything: [DataType(DataType.Password)] The data types are: Custom = 0, // Summary: Represents a custom data type. DateTime = 1, // Summary: Represents an instant in time, expressed as a date and time of day. Date = 2, Time = 3, Duration = 4, // Summary: Represents a continuous time during which an object exists. PhoneNumber = 5, Currency = 6, Text = 7, Html = 8, MultilineText = 9, EmailAddress = 10, Password = 11, Url = 12, ImageUrl = 13, ...