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
1
Reply
How to handle Concurrency in Entity Framework?
Ravi Patel
9y
2k
0
Reply
Submit
create a DB column with timestamp data type - say
rowversion
for each insert and update operation performed on a table, check
rowversion’s
current value with fetched value, during update change value for
rowversion
column
set Concurrency Mode to Fixed by right clicking on the
rowversion
property of the entity
SANTOSH SHITOLE
5y
0
Message