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 М.
规则,在门里生存,出来~死亡
00:33
落魄的王子
Рет қаралды 28 МЛН
How To Get Married:   #short
00:22
Jin and Hattie
Рет қаралды 27 МЛН
Bike Vs Tricycle Fast Challenge
00:43
Russo
Рет қаралды 108 МЛН
Stop Using FirstOrDefault in .NET! | Code Cop #021
12:54
Nick Chapsas
Рет қаралды 79 М.
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 205 М.
Why use Type and not Interface in TypeScript
14:12
ByteGrad
Рет қаралды 208 М.
What is Span in C# and why you should be using it
15:15
Nick Chapsas
Рет қаралды 256 М.
100K Subscribers Special: My Journey, Career Advice, Future of .NET
16:36
Five of my favorite project ideas to learn Go.
11:31
Dreams of Code
Рет қаралды 63 М.
A Step-by-Step Guide for the Cache-Aside Pattern + Stampede Protection
19:29
Building Real-Time Applications With SignalR & .NET 7
12:22
Milan Jovanović
Рет қаралды 87 М.
规则,在门里生存,出来~死亡
00:33
落魄的王子
Рет қаралды 28 МЛН