Entity Framework Core Part 10 - Dynamic Mapping

Sdílet
Vložit
  • čas přidán 19. 11. 2020
  • Coding Tutorial: The mapping between tables and entities doesn't have to be fixed. Here we use EF Core to easily switch the language that a website displays. And cookies and tag helpers to boot.
    Source code available at: github.com/JasperKent/Entity-...
  • Věda a technologie

Komentáře • 20

  • @govindfufal2320
    @govindfufal2320 Před 2 lety +10

    Much better than paid content Thank you.

  • @francescopaoloribaudo3384

    Really interesting!
    I have been following you for about 10 days and your videos have something more than the others of your "colleagues".
    Thanks and see you next video!

  • @HaiderAli-vj5yp
    @HaiderAli-vj5yp Před rokem +1

    I am really thankful to you for teaching me this stuff. You are doing something incredible contribution in our knowledge sir.
    Thankyou respected teacher

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

    again thank you for this series great videos

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

    Teşekkürler! Wonderful series. Commenting on every video I watch from you, so I can help with the CZcams algorithm :P

  • @DamienSawyer
    @DamienSawyer Před rokem +1

    Thank you. That was great 🙂

  • @szilviemailje
    @szilviemailje Před rokem +1

    Wow!!!

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

    I didn't know we could set a cookie on the client side!

  • @ahmadsalman1292
    @ahmadsalman1292 Před rokem +1

    👍👍

  • @CodingTutorialsAreGo
    @CodingTutorialsAreGo  Před 3 lety +1

    Any questions on that? Do post them below.
    Source code can be found at github.com/JasperKent/Entity-Framework-Schema-Switch
    Subscribe for more at: czcams.com/channels/qWQzlUDdllnLmtgfSgYTCA.html
    And if you liked it, give it a 👍!

  • @mrmuds8624
    @mrmuds8624 Před rokem +1

    A bit of feedback, it would be helpful if you had a "before" and "after" of the solution for each video, that way it's easy to follow along

  • @MCkillcrow
    @MCkillcrow Před měsícem

    Thanks - wasn't exactly what I was expecting - your example is effectively showing the mapping of output to a single Dto from multiple "dynamically" generated queries - I was hoping to see an example of Mapping to a dynamic Type which is only known at run time ... sigh

  • @Harish-Boopathi
    @Harish-Boopathi Před 4 měsíci

    what should i do if the tables have different no.of columns

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

      I'm not sure. The point of this is to switch between different tables with the same structure. What is it you're putting in the extra column?

    • @Harish-Boopathi
      @Harish-Boopathi Před 4 měsíci

      @@CodingTutorialsAreGo Thanks for replying soon, I am trying to display all the contents of the table , It doesn't matter if they are related or not. simply dynamic table and dynamic columns.
      Well its like a table displayer

    • @CodingTutorialsAreGo
      @CodingTutorialsAreGo  Před 4 měsíci +1

      I'm not sure that's something I'd do in EF. The point of EF is to have strong types in C# to represent your tables. The doesn't fit with the idea of simply being able to inspect any table. I'd use lower-level ADO.

    • @Harish-Boopathi
      @Harish-Boopathi Před 4 měsíci

      @@CodingTutorialsAreGo Thanks for your help and the wonderful tutorials👍

  • @Console.WriteLine
    @Console.WriteLine Před 11 měsíci +2

    where is the Russian language?

    • @CodingTutorialsAreGo
      @CodingTutorialsAreGo  Před 11 měsíci +1

      If you want to send me Russian captions, I'd be happy to put them up.