Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Post
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Reply
How to update table column using linq to sql
Sivakumar
8 years ago
448
Reply
Hi,
This is my table :
This is my controller :
[HttpGet]
[Route("Read")]
//api/notifications/read
public int ReadNotification(int NotificationId)
{
return _notification.ReadNotification(NotificationId);
}
When I call this controller change the
IsRead column is 1
Please give me linq to sql query for that.
Thank you.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
I am trying to Display Lock or Unlock Images on Searched Do
Cannot implicitly convert type 'System.Linq.IQueryable'