开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜