Data Validations not working

Posted by Akiii under ASP.NET MVC on 6/11/2014 | Points: 10 | Views : 1476 | Status : [Member] | Replies : 1
Hi,

I am architecting a Project in MVC. I am using default data validations as my validation block.

I have created a separate class library in which I have created all the model classes such as Book, Author with contains their respected data annotations.
I am including this dll in the main project and have already created Create, update, edit, delete, index by scaffolding.

But now my validations are not working. Is it necessary to have all the models classes in the Models folders in the main project ?

Please do help me regarding this matter....

Akiii




Responses

Posted by: Vuyiswamb on: 7/6/2014 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
Are you EntityFramework ?

Thank you for posting at Dotnetfunda
[Administrator]

Akiii, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response