Avatar of PratikShah111
PratikShah111

asked on 

Converting sql query to linq/ entity framework

how to write a simple update query in linq.

Here is the sql statement for that

update tablex
set
username = variable1 where
id = variable2

how do we handle this in linq for Entity Framework
.NET ProgrammingSQL* Entity Framework Core* LINQ

Avatar of undefined
Last Comment
Fernando Soto

8/22/2022 - Mon