2011-01-19から1日間の記事一覧
さて、超便利と噂のDataAnnotationですが、こいつの検証の実行順番って意外と知られてないけど、こんな動きするんだぜ!っていうのを見てみたいと思います。 検証用クラスの作成 [CustomValidation(typeof(Sample), "ValidateObject")] public class Sample …
さて、超便利と噂のDataAnnotationですが、こいつの検証の実行順番って意外と知られてないけど、こんな動きするんだぜ!っていうのを見てみたいと思います。 検証用クラスの作成 [CustomValidation(typeof(Sample), "ValidateObject")] public class Sample …