trant trum
trant trum

Reputation: 219

Trying to enhancing data validtion

I just started learning asp.net. In the asp.net application I am working on, I used the database first approach. My question, if I want to add data annotations, which is the preferred approach to do it. Should I update my models file or should I update the database table? I apologize if it is a very basic question.

Upvotes: 0

Views: 17

Answers (1)

Test User
Test User

Reputation: 53

Add annotation on model this will be right approach.

Upvotes: 2

Related Questions