The DataAnnotations namespace is extensive. I haven’t explored how to make use 
of its many classes.

 

  _____  

Ian Thomas
Albert Park, Victoria

 

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Greg Keogh
Sent: Tuesday, October 07, 2014 5:03 PM
To: ozDotNet
Subject: Re: Validation

 

There is a similar usage of DataAnnotations described in an article at 
CodeProject - 
http://www.codeproject.com/Articles/256183/DataAnnotations-Validation-for-Beginner
 

 

Ta, I eventually stumbled on that one too. For ages I couldn't find anything 
that actually used the attributes and I thought they might be only used 
internally for DB entities. But I finally found the Validator class (which has 
a rather strange class!). I made a custom validation attribute and it works 
pleasantly -- Greg

Reply via email to