自訂一個Validation Attribute 類別(RequiredIfAttribute.cs),並:. 繼承 ValidationAttribute 類別後覆寫IsValid 方法來加入自訂驗證規則:後端 ...
確定! 回上一頁