I would like to ask about a doubt I have concerning to Portable Class Library. I'm developing a DAL Layer and I'm using Portable project for my business objects, this project is target to .Net Framework 4.03 and higher, SilverLight 4
and higher and .Net for Windows Store Apps.
I would like to implement IValidatableObject
interface on each of my business objects, but even when System.ComponentModel.DataAnnotations
is available for the frameworks this project is targeted to, I haven“t access to IValidatableObject
interface, is not available on the .net portable framework, neither MetadataType
attribute exists on it. Is there any solution to achieve this approach?