Click here to Skip to main content
15,943,131 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a doubt , is there any option to partially update mysql db in asp.net core mvc

i am using datafirst approach and when i try to do any changes in db all i can see is few DML like add, update and remove

As of now i need to map every value in the model before update

is there any way to update only the particular value with out making any changes in the db except for the value that is begin updated.

What I have tried:

is there any way to update only the particular value with out making any changes in the db except for the value that is begin updated.
Posted
Comments
Richard Deeming 22-Feb-23 10:09am    
Yes, there are ways to only update specific columns in specific rows in a database table.

But since you haven't told us how you're accessing your database, nor shown us any code, we can't tell you what they are.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900