Does anyone know which DataAnnotations presently work with CSLA in a Windows Forms application. I have personally had success using Required, StringLength, Range and CustomValidation.
I have attempted to use the ConcurrencyCheck DataAnnotation without any luck. Is there a list of working ones I can reference, should they all be working?
Thanks for any info provided.
The DataAnnotation Validation attributes should all work as they have the same signature.
http://www.asp.net/mvc/tutorials/older-versions/models-%28data%29/validation-with-the-data-annotation-validators-cs
Other attributes like Key, NotMapped and ConcurrencyCheck is used in EF and describes actions to the database and these will not do any action in CSLA.
You can also create your own custom DataAnnotation validation rules and use these in CSLA. But only Validation rules are hooked into the CSLA rule engine.
Copyright (c) Marimer LLC