Silverlight wcf ria services : Validation Annotation questions
How do i do the equivalent of [Required]
in xaml code behind?
I have a dataform that autogenerates the fields from a domain service class. Is it possible t开发者_如何学Pythono add or remove the [Required]
validation in the _AutoGeneratingField
method?
Thanks
Try to create extension class for your entity, where you can use [Required]
attribute.
If you need some examples - let me know.
精彩评论