The Best Way To Do Bulk Update in EF Core

  Рет қаралды 6,593

Milan Jovanović

Milan Jovanović

Күн бұрын

Пікірлер: 7
@zoltanzorgo
@zoltanzorgo 3 ай бұрын
There is a huge difference though between these two. In the first scenario you can change whatever you want. In the second scenario you can't do anything that you couldn't by issuing an UPDATE DML statement directly - as that is simply translated to an UPDATE statement. And that is why it is outside the change tracker as it executes only on the RDBMS side.
@MilanJovanovicTech
@MilanJovanovicTech 3 ай бұрын
Also doesn't run interceptors
@ВладиславКовдря-п5о
@ВладиславКовдря-п5о 3 ай бұрын
And how to raise domain event in this case to show that some entities changed?
@MilanJovanovicTech
@MilanJovanovicTech 3 ай бұрын
You can't
@justgame5508
@justgame5508 Ай бұрын
Using these methods you sacrifice patterns and ‘best practices’ for performance
@alibabapour7418
@alibabapour7418 3 ай бұрын
9th
@MilanJovanovicTech
@MilanJovanovicTech 3 ай бұрын
10th
Are You Accidentally Crippling Your EF Core Queries?
17:18
Milan Jovanović
Рет қаралды 26 М.
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 835 М.
She's very CREATIVE💡💦 #camping #survival #bushcraft #outdoors #lifehack
00:26
Help Me Celebrate! 😍🙏
00:35
Alan Chikin Chow
Рет қаралды 68 МЛН
How Strong is Tin Foil? 💪
00:26
Preston
Рет қаралды 153 МЛН
Stop Using FirstOrDefault in .NET! | Code Cop #021
12:54
Nick Chapsas
Рет қаралды 79 М.
Why use Type and not Interface in TypeScript
14:12
ByteGrad
Рет қаралды 208 М.
Completely Get Rid of Null Using This Technique
25:28
Milan Jovanović
Рет қаралды 11 М.
100K Subscribers Special: My Journey, Career Advice, Future of .NET
16:36
The New Option and Result Types of C#
15:05
Nick Chapsas
Рет қаралды 71 М.
A Step-by-Step Guide for the Cache-Aside Pattern + Stampede Protection
19:29
What is Span in C# and why you should be using it
15:15
Nick Chapsas
Рет қаралды 256 М.
She's very CREATIVE💡💦 #camping #survival #bushcraft #outdoors #lifehack
00:26