I am working on an asp mvc3 application using .NET 4 .
However, the model I want to use is in the class library, which uses .NET 3.5 and cannot change.
Can I add .NET 4 data annotations to some properties of my model in the controller programmatically to get an easy check?
source
share