Want to master Clean Architecture? Go here: bit.ly/3PupkOJ Want to unlock Modular Monoliths? Go here: bit.ly/3SXlzSt
@antonmartyniuk
2 ай бұрын
Milan, it will be very useful if you show a list of all caveats in the start of the "Problem" section or at the end of the video to summarize them: exceptions & consistency, change tracker and interceptors
@MilanJovanovicTech
2 ай бұрын
I summarize 'em verbally 😅
@emiraksoy1520
2 ай бұрын
EF Core's ExecuteUpdate method works like Dapper's execute methods, allowing you to perform updates directly in the database.
@MilanJovanovicTech
2 ай бұрын
Yes, a nice parallel
@codecam9213
2 ай бұрын
Can you make video about using SqlQuery method using parameterizes store procedure? Thanks.
@MilanJovanovicTech
2 ай бұрын
Great suggestion!
@codecam9213
2 ай бұрын
@@MilanJovanovicTech _context.Database .SqlQuery($"EXEC spGet (@pa={pa},@br={br})"); NOT WORKING
Great information, is there a solution to keep the in memory record updated after the execute method?
@MilanJovanovicTech
2 ай бұрын
Not that I know of
2 ай бұрын
Is there an easy way to get updated records after this ExecuteUpdateAsync method? What exactly does using .ContinueWith do? Can we combine this query with .Take, .Order ,etc.
@MilanJovanovicTech
2 ай бұрын
No, it'll only return the number of records that were updated. Take might help with limiting the number of records that are updated.
Пікірлер: 19