Entity Framework Update without reading

c# entity-framework entity-framework-6

Accepted Answer

EntityFramework.Extended

nuget

git

context.Tasks
    .Where(t => t.StatusId == 1)
    .Update(t => new Task { StatusId = 2 });
1
10/28/2015 3:56:40 PM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow