C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
Java
Learn iOS Programming
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
10
Reply
What is data annotation ?
Sandeep Kumar
9y
6.5k
0
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
DataAnnotations are used to enforce validation rules for data applied to the class or member.
Akhil Garg
9y
1
Annotations are allows you to use validation rules. System.ComponentModel.DataAnnotations is the assembly name, which contains Annotations.
Amit Kumawat
9y
0
DataAnnotations is a library in .NET Framework. It resides in assembly System.ComponentModel.DataAnnotations. The purpose of DataAnnotations is to custom domain entity class with attributes.
Keerthi Venkatesan
9y
0
Validation Attributes. The System.ComponentModel.DataAnnotations namespace contains the following attributes which are used to enforce validation rules for data applied to the class or member: Validation Attribute.
Munesh Sharma
9y
0
Used to Enforce validation rules
Bhuvanesh Mohankumar
9y
0
data annotation used to customise the entity classes that specify how the data is displayed and set relationships between classes.
Keerthi Venkatesan
9y
0
it is use for data validation rules for data applied to the class or member.
Vivek Kumar
9y
0
DataAnnotations are used to enforce validation rules for data applied to the class or member.
Kml Surani
9y
0
The System.ComponentModel.DataAnnotations attributes cause MVC to provide both client and server validation checks with no additional coding required by you.
Ravi Patel
9y
0
data annotation use for data validation of the application
Sandeep Kumar
9y
0
What is authorisation ?
What is namespace for using generic type in c# ?
Message