How do Entity Framework Core Queries Work?

Sdílet
Vložit
  • čas přidán 19. 04. 2022
  • How do entity framework core queries work? How do ef core queries get translated in to SQL? How do providers adapt queries to their databases?
    Patreon 🤝 / raw_coding
    Courses 📚 learning.raw-coding.dev
    Shop 🛒 shop.raw-coding.dev
    Discord 💬 / discord
    Twitter 📣 / anton_t0shik
    Twitch 🎥 / raw_coding
    👉 Try Rider
    www.jetbrains.com/store/redeem/
    RD5K9-4TXXW-KMV3G-NYWSF-3ZSTP
    Reflection Tutorial: • C# Reflection Explaine...
    Expressions Tutorial: • C# Expression Trees Ex...
    #csharp #efcore #dotnet

Komentáře • 46

  • @MaxQuagliotto
    @MaxQuagliotto Před 2 lety +11

    This is a great video; I always wondered what's under the hood of entityframework and how it built its expression trees. Thanks. And also lowkey thanks for contributing to my impostor syndrome as well :)

    • @RawCoding
      @RawCoding  Před 2 lety +4

      Cheers)) and don’t be troubled you can be an excellent developer without knowing any of the internals

  • @user-qf2xk1fg6e
    @user-qf2xk1fg6e Před 2 lety +9

    Охрененный канал! Просто охрененный! Спасибо за то, что ты делаешь!

    • @RawCoding
      @RawCoding  Před 2 lety +6

      Спасибо рад что понравилось )

  • @tahateber7259
    @tahateber7259 Před 2 lety +2

    Man, your videos are just great
    Keep up the good work

  • @LukeAvedon
    @LukeAvedon Před 2 lety +1

    Excellent overview!

  • @GabrielGomes-bm8xb
    @GabrielGomes-bm8xb Před rokem

    Men, I wish I had watched this video before I start my ORM, My expression evaluator it's a strategy pattern that I did myself because I didn't know about the ExpressionVisitor :(
    Awesome video btw

  • @yessenzhol8989
    @yessenzhol8989 Před 2 lety +1

    great channel! thank you very much!

  • @user-mc7gi7xb3z
    @user-mc7gi7xb3z Před 2 lety +3

    Спасибо большое!) Помню как то задавал вопрос о продолжении серии deep dive и о чудо - оно вышло!))

    • @RawCoding
      @RawCoding  Před 2 lety

      Да, вот оно, надеюсь понравилось

    • @user-qf2xk1fg6e
      @user-qf2xk1fg6e Před 2 lety +1

      @@RawCoding может я как то плохо смотрел, но нет ли чего-то про синхронизацию в многопоточной среде? Про всякие Manual Reset event. ReadWriteLock и прочее и прочее.

    • @RawCoding
      @RawCoding  Před 2 lety

      Может быть, я это не смотрел я именно о трансляции линк в скл фокусировался

    • @user-qf2xk1fg6e
      @user-qf2xk1fg6e Před 2 lety +1

      @@RawCoding я не про конкретное видео. Я про то, будет ли (или может есть) видео на канале об объектах синхронизации в многопоточной среде?

    • @meJevin
      @meJevin Před 2 lety

      @@user-qf2xk1fg6e миллионы артиклов в интернете и отличная документация на мсдн.

  • @RubberDuckCoding
    @RubberDuckCoding Před 2 lety +1

    VERY NICE!

  • @HoangDuck666
    @HoangDuck666 Před 2 lety +1

    this video got all i need

  • @paradisefallen8385
    @paradisefallen8385 Před 2 lety +1

    Can you explain please how MobileBlazorBindings works in Xamarin and how to made it works for Avalonia / Maui. Concepts and another staff. Plz

  • @stevenkjames
    @stevenkjames Před 2 lety

    Cool

  • @ryanvanmechelen
    @ryanvanmechelen Před 2 lety +1

    Hairstyle change at 16:20!

    • @RawCoding
      @RawCoding  Před 2 lety

      haha, yeah I filmed this over 2 days, that 3rd part I was going to just open the source code on github but I decided that was shit and debugging would be a better example

  • @_MoshikoAz_
    @_MoshikoAz_ Před 2 lety +1

    thanks, any chance you can make a guide for mac m1 users ?

  • @yourockst0ne
    @yourockst0ne Před 2 lety +1

    +1 for the thumbnail

  • @cuzsleepisthecousinofdeath

    As an addition to this vid there are
    Presentation - How EF translates LINQ to SQL
    czcams.com/video/r69ZxXgOIK4/video.html
    Expressions playlist (old but gold)
    czcams.com/play/PLRwVmtr-pp06SlwcsqhreZ2byuozdnPlg.html

  • @mdrtoffee
    @mdrtoffee Před 2 lety +1

    Good video but I've still yet to see a reason to use EF over Dapper if you know how to write good SQL.

    • @RawCoding
      @RawCoding  Před 2 lety +1

      Preference

    • @mdrtoffee
      @mdrtoffee Před 2 lety +1

      @@RawCoding Dapper will always perform better though. EF can be more convenient for smaller projects.

    • @RawCoding
      @RawCoding  Před 2 lety +2

      You have to consider your team, not everything is about code execution speed.

  • @cocoscacao6102
    @cocoscacao6102 Před 2 lety +1

    Next, change tracking :)

  • @dotnetdevni
    @dotnetdevni Před 2 lety +1

    Yeah thats why u should use .select select * is not good.

    • @RawCoding
      @RawCoding  Před 2 lety

      ?

    • @dotnetdevni
      @dotnetdevni Před 2 lety +1

      @@RawCoding .select allows u to name individual columns in ur list rather than returning them all

    • @RawCoding
      @RawCoding  Před 2 lety

      What are you talking about