Public · Protected · Private
Data Annotations
Type: Public  |  Created: 2012-10-02  |  Frozen: Yes
« Previous Public Blog Next Public Blog »
Comments
  • For validations

  • Required – Indicates it is a required field
  • DisplayName – Name we can use on form fields and validation messages
  • StringLength – Maximum length for a string field
  • Range – Maximum and Minimum values for a numeric field
  • Bind – Lists fields to exclude or include while binding parameter or form values to model properties
  • ScaffoldColumn – Allows hiding fields from editor forms
2012-10-02 17:49
This blog is frozen. No new comments or edits allowed.