TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Riddhi Valecha
443
3.3k
413.1k
Entity Framework - Validations
Mar 26 2020 2:21 AM
Dear Team,
I need help in validations in Entity Framework with Swagger.
For Example - If I do not put any values for inputs - Locationcode, drivercode, isactive and isapproved, then it should return all the records. But, here , it takes LocationCode input as "string" and searches the data where locationcode is "string". How do I overcome this ?
--------
For Saving data, I need to make all the inputs compulsory.
Here, how do I make all the inputs compulsory ? and give user-friendly messages that - LocationCode is compulsory?
Please guide on this ..
Reply
Answers (
38
)
WEB API - PUT METHOD - EXECUTE API AND UPDATE THE TABLE
Saving Checked Value From a Gridview With Paging to Database