Entity Framework Core Part 10 - Dynamic Mapping
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
Much better than paid content Thank you.
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!
I am really thankful to you for teaching me this stuff. You are doing something incredible contribution in our knowledge sir.
Thankyou respected teacher
again thank you for this series great videos
Teşekkürler! Wonderful series. Commenting on every video I watch from you, so I can help with the CZcams algorithm :P
That is truly helpful. Thank you.
Thank you. That was great 🙂
Wow!!!
I didn't know we could set a cookie on the client side!
👍👍
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 👍!
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
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
what should i do if the tables have different no.of columns
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?
@@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
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.
@@CodingTutorialsAreGo Thanks for your help and the wonderful tutorials👍
where is the Russian language?
If you want to send me Russian captions, I'd be happy to put them up.