成人午夜视频全免费观看高清-秋霞福利视频一区二区三区-国产精品久久久久电影小说-亚洲不卡区三一区三区一区

MVC部份屬性驗證控件-創(chuàng)新互聯(lián)

http://msdn.microsoft.com/en-us/library/system.componentmodel.dataannotations.displayattribute.aspx

網(wǎng)站建設哪家好,找成都創(chuàng)新互聯(lián)!專注于網(wǎng)頁設計、網(wǎng)站建設、微信開發(fā)、小程序制作、集團企業(yè)網(wǎng)站建設等服務項目。為回饋新老客戶創(chuàng)新互聯(lián)還提供了左權免費建站歡迎大家使用!

The System.ComponentModel.DataAnnotations namespace provides attribute classes that are used to define metadata for ASP.NET MVC and ASP.NET data controls.

Classes
ClassDescription
AssociatedMetadataTypeTypeDescriptionProviderExtends the metadata information for a class by adding attributes and property information that is defined in an associated class.
  AssociationAttributeSpecifies that an entity member represents a data relationship, such as a foreign key relationship.
BindableTypeAttributeSpecifies whether a type is typically used for binding.
CompareAttributeProvides an attribute that compares two properties.
  ConcurrencyCheckAttributeSpecifies that a property participates in optimistic concurrency checks.
CreditCardAttributeSpecifies that a data field value is a credit card number.
  CustomValidationAttributeSpecifies a custom validation method that is used to validate a property or class instance.
  DataTypeAttributeSpecifies the name of an additional type to associate with a data field.
  DisplayAttributeProvides a general-purpose attribute that lets you specify localizable strings for types and members of entity partial classes.
  DisplayColumnAttributeSpecifies the column that is displayed in the referred table as a foreign-key column.
  DisplayFormatAttributeSpecifies how data fields are displayed and formatted by ASP.NET Dynamic Data.
  EditableAttributeIndicates whether a data field is editable.
EmailAddressAttributeValidates an email address.
  EnumDataTypeAttributeEnables a .NET Framework enumeration to be mapped to a data column.
FileExtensionsAttributeValidates file name extensions.
  FilterUIHintAttributeRepresents an attribute that is used to specify the filtering behavior for a column.
  KeyAttributeDenotes one or more properties that uniquely identify an entity.
MaxLengthAttributeSpecifies the maximum length of array or string data allowed in a property.
MetadataTypeAttributeSpecifies the metadata class to associate with a data model class.
MinLengthAttributeSpecifies the minimum length of array of string data allowed in a property.
PhoneAttributeSpecifies that a data field value is a well-formed phone number using a regular expression for phone numbers.
  RangeAttributeSpecifies the numeric range constraints for the value of a data field.
  RegularExpressionAttributeSpecifies that a data field value in ASP.NET Dynamic Data must match the specified regular expression.
  RequiredAttributeSpecifies that a data field value is required.
ScaffoldColumnAttributeSpecifies whether a class or data column uses scaffolding.
ScaffoldTableAttributeSpecifies whether a class or data table uses scaffolding.
  StringLengthAttributeSpecifies the minimum and maximum length of characters that are allowed in a data field.
  TimestampAttributeSpecifies the data type of the column as a row version.
  UIHintAttributeSpecifies the template or user control that Dynamic Data uses to display a data field.
UrlAttributeProvides URL validation.
  ValidationAttributeServes as the base class for all validation attributes.
  ValidationContextDescribes the context in which a validation check is performed.
  ValidationExceptionRepresents the exception that occurs during validation of a data field when the ValidationAttributeclass is used.
  ValidationResultRepresents a container for the results of a validation request.
  ValidatorDefines a helper class that can be used to validate objects, properties, and methods when it is included in their associated ValidationAttribute attributes.

本文標題:MVC部份屬性驗證控件-創(chuàng)新互聯(lián)
文章網(wǎng)址:http://jinyejixie.com/article4/dioiie.html

成都網(wǎng)站建設公司_創(chuàng)新互聯(lián),為您提供品牌網(wǎng)站制作、關鍵詞優(yōu)化響應式網(wǎng)站、App設計、定制開發(fā)、小程序開發(fā)

廣告

聲明:本網(wǎng)站發(fā)布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經(jīng)允許不得轉載,或轉載時需注明來源: 創(chuàng)新互聯(lián)

商城網(wǎng)站建設
利川市| 金溪县| 航空| 荔波县| 武陟县| 广河县| 惠州市| 罗田县| 安新县| 阿尔山市| 汤阴县| 安陆市| 莱西市| 静乐县| 合阳县| 凤山县| 农安县| 镇原县| 遂昌县| 临洮县| 宿迁市| 苍梧县| 庆安县| 邵东县| 阿克陶县| 巩义市| 鄯善县| 调兵山市| 泸西县| 沽源县| 蒙阴县| 弥渡县| 应用必备| 富锦市| 和田市| 视频| 唐海县| 盘锦市| 芮城县| 辽阳市| 元谋县|