How to Update and Delete with Entity Framework Core

preview_player
Показать описание

Entity Framework Core 7 introduced a couple of new powerful APIs that finally allow you to perform database updates and deletes in a very efficient way.

In this video I'll give you all the details.

#entityframework #entityframework #dotnet #aspnetcore #aspnet #dotnetcore
Рекомендации по теме
Комментарии
Автор

Thank you so much. I learnt something new today and I'm immediately using it in a new project Im coding now.

husokanus
Автор

Nice video Julio! Thanks for this content! 💻

jpvillegas
Автор

That's so verbose for Update. Even in our high-traffic applications I don't see us using that at all unless all those SetProperty extensions can be replaced with a single changed entity. Especially when all we're doing is using Automapper to map the changes, attaching the changed object to EF, setting the state to modified and saving that. We don't touch individual properties at all.

dasfahrer
Автор

it is much efficient now, thanks for the video.

Francisco-Gutierrez
Автор

Excellent video ):, can you pls show us how to upsert related items in child tables using this new way ( one to many relationship entities )

akbaralimajeed
Автор

Now that the context is out of sync... how do you correct that?

TreyMcClure
Автор

dbContext.Entry(existingGame)
.CurrentValues

HernanIannella