.NET Data Community Standup - EF Core internals: IQueryable, LINQ and the EF Core query pipeline

Sdílet
Vložit
  • čas přidán 7. 03. 2023
  • In this standup, we'll dive deep under the hood to see how EF Core processes LINQ queries, translates them to SQL and executes them on your database. We'll introduce key concepts such as IQueryable and LINQ providers, and see how EF Core uses caching to make your querying lightning-fast. Join us to understand how the magic works!
    Featuring: Arthur Vickers (@ajcvickers), Shay Rojansky (@shayrojansky)
    #EntityFramework #Beginner #CSharp
  • Věda a technologie

Komentáře • 13

  • @wertzui01
    @wertzui01 Před rokem +1

    Yes, please make a follow up and dig deeper into those two compilation-boxes!

  • @ramashankar2750
    @ramashankar2750 Před rokem +1

    As shay outlines , Index based in memory datawell using LINQ and DI service is what we use to maintain State on WASM across pages to overcome cascading values issues e.g An Invoice which consists of 20 entities (nested interfaces) and with entity splitting.

  • @VladimirRomanovsky-Errdonald

    Starts at 2:36

  • @MeNourovic
    @MeNourovic Před rokem +1

    thank you for the video.

  • @philipstuyck2694
    @philipstuyck2694 Před 4 měsíci

    In our company we have a legacy system that was created even before EF. Now I added a feature that allows linq for filtering which transforms the linq predicate expression into the filter that our legacy system recognizes. But that legacy system must at a certain point create SQL too, and materialize too, but then to our own classes. It does have change tracking, but does not have the notion of a context, that is hidden to the users, nor does it have a unit of work. But I was thinking that instead of writing my own visitor to create our legacy filters, i could get the SQL from the provider by perhaps adding some attributes or fluent api and fake context objects in our code. Ideally without changing any code in the provider. Because then with an update of the provider, I don't have the problem of code merging. But even if I have to dig through the provider code and use a subset of it, it would still be cool, because the quality of the sql generation is very likely very good.

  • @Andy01010
    @Andy01010 Před rokem +1

    In all honesty, you need proper guidance videos similar to this one in the documentation section on how internals work when a new version of EF is released.

  • @amrosamy8232
    @amrosamy8232 Před rokem

    we can say the expression is a func that is written in a single line of code without surrounding it with curly braces

  • @MohammadElmi
    @MohammadElmi Před 10 měsíci

    and it has a #beginner tag :))

    • @maksadnahibhoolna-wc2ef
      @maksadnahibhoolna-wc2ef Před 8 měsíci

      Is it not beginner friendly ?

    • @Roshan-tb3iz
      @Roshan-tb3iz Před 6 měsíci

      That's a valid point @MohammadElmi. You need to be maybe an intermediate developer and have at least some experience programming EF Core by using a DbSet class to understand this video. It's about internals of EF Core and not an introduction to the topic.

  • @nunocruz7189
    @nunocruz7189 Před rokem

    the intro music is starts to be a bit repetitive