Entity Framework Core: How To Use Transactions

Поділитися
Вставка
  • Опубліковано 15 гру 2024

КОМЕНТАРІ • 17

  • @TrevoirWilliams
    @TrevoirWilliams  2 роки тому

    Learn more about Entity Framework Core:
    Entity Framework Core - A Full Tour
    www.udemy.com/course/entity-framework-core-a-full-tour/?referralCode=AE4C8876B2B444EF9D22
    Complete ASP.NET Core and Entity Framework Development
    www.udemy.com/course/complete-aspnet-core-31-and-entity-framework-development/?referralCode=739749EF600855CEE34F

  • @oleksandrdiachuk2978
    @oleksandrdiachuk2978 2 роки тому +2

    Thanks for your videos.
    Quick question:
    What if it failed BEFORE the safepoint? How would it rollback to the point which would haven't exist?

    • @TrevoirWilliams
      @TrevoirWilliams  2 роки тому

      I explore that from 6 minutes onward where I show save points and how to rollback to a certain point.

    • @oleksandrdiachuk2978
      @oleksandrdiachuk2978 2 роки тому

      @@TrevoirWilliams just to clarify my question:
      try
      {
      //// Adding a new League Object
      var league = new League { Name = "Audit Testing League" };
      await context.Leagues.AddAsync(league);
      //await context. ... AddAsync(someObject);

  • @arielml
    @arielml Рік тому

    Is this usig DTC?

  • @billnewsr.9314
    @billnewsr.9314 Рік тому +1

    Thank you!

  • @Mo-ef9yt
    @Mo-ef9yt 2 роки тому +1

    Great video

  • @nove1398
    @nove1398 2 роки тому +1

    well done

  • @bloopers2967
    @bloopers2967 2 роки тому

    I didn't get it😭

    • @TrevoirWilliams
      @TrevoirWilliams  2 роки тому +1

      I am sorry it was complicated. Perhaps you can enroll in the full course and learn Entity Framework from scratch and it will make more sense.

  • @xalynkx
    @xalynkx 2 роки тому +1

    Way too advance for my pallette...👍

    • @TrevoirWilliams
      @TrevoirWilliams  2 роки тому +1

      I am sorry it was complicated. Perhaps you can enroll in the full course and learn Entity Framework from scratch and it will make more sense.

  • @alouiibtissem2470
    @alouiibtissem2470 2 роки тому +1

    well done