ExecuteUpdate and ExecuteDelete | Bulk operations in Entity Framework Core (EF Core 8)

Поделиться
HTML-код
  • Опубликовано: 13 дек 2023
  • ExecuteUpdate (ExecuteUpdateAsync ) and ExecuteDelete (ExecuteDeleteAsync ) are new methods in Entity Framework Core. ExecuteUpdate and ExecuteDelete methods were there in EF Core 7 but their implementation has been updated now in EF Core 8.
    If you need to perform bulk operations on the database using Entity Framework Core then you must use these methods. Although there is no change in the functionality, but their performance is top-level.
    In this video, you will learn everything about ExecuteUpdate and ExecuteDelete methods to improve EF Core LINQ to SQL performance.
    💰 SUPPORT Nitish Kaushik ☕💳 by donating for more quality content!
    💳 Paypal: www.paypal.com/paypalme/nitishkaushik
    ☕ BuyMeACoffee: www.buymeacoffee.com/nitishkaushik
    Your support is greatly appreciated! 🙌🎥📚
    #ExecuteUpdateAsync #ExecuteDeleteAsync #efcore
  • НаукаНаука

Комментарии • 7

  • @rokckerzzzz6080
    @rokckerzzzz6080 7 месяцев назад

    Thanks for the update.

  • @RamaatchutaraoBoddeda
    @RamaatchutaraoBoddeda 7 месяцев назад

    Hi, but how to work with bulk update of dynamic rows

  • @microtech2448
    @microtech2448 7 месяцев назад

    How are these better than EF 7 versions?

    • @nitish.kaushik
      @nitish.kaushik  7 месяцев назад

      n EF7, ExecuteUpdate and ExecuteDelete did not support updates accessing multiple entity types even when the query ultimately affected a single table. EF8 removes this limitation.

    • @microtech2448
      @microtech2448 7 месяцев назад

      @@nitish.kaushik can you please create a comparison video?

    • @sagarviradiya1482
      @sagarviradiya1482 6 месяцев назад

      @@nitish.kaushik Can you create demo?