Skip to content

Data Annotations的 时间类型未处理 #2

@raphaelli

Description

@raphaelli

Data Annotations的 时间类型未处理

[Display(Name = "事件时间")]
//[RegularExpression(@"\d{2,4}-\d{1,2}-\d{1,2}\s\d{1,2}:\d{1,2}:\d{1,2}", ErrorMessage = "格式错误")]
//[DataType(DataType.Date ,ErrorMessage = "格式错误")]
        public DateTime TdTime { get; set; }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions