Entity Framework Core Part 7 - Models vs Entities

preview_player
Показать описание
Data structures in the database aren't always useful for end-users. Here's how we can reconcile the differences, and optimize our eager loading to boot.

Рекомендации по теме
Комментарии
Автор

There's still lots more to EF Core. Let me know what you want to see.
And if you liked it, click 'like'!

CodingTutorialsAreGo
Автор

Latest version of EF by default recognises that you have renamed the column and the migration produced calls the RenameColumn method. But great to know that it didn't used to be like this. Keep the videos coming 👍

mrmuds
Автор

I am getting clear picture of ef core. Thank you for sharing you knowledge with us

dheerajambippi
Автор

This is the best EF video ive ever watched ! Thank you 💯

sakshock
Автор

Great work. I haven't seen many as detailed and providing a such thorough information about technology for beginners videos as that one. I found it really interesting. Keep it up!

slikmargor
Автор

I have found my new role model!
Really appreciating your explanations.

demi
Автор

Thanks for all of your videos...you are teaching step by step, helps me better understand logic and how things work...to let you know, I would like to see how to create model implementing SelectListItem, Searchbox, and some additional features that website can offer to user and the way new data is generated by user into existing columns...sort of speak, the opposite way :)

aspmvc
Автор

Awesome tutorial, and great appreciation to you guys producing the amazing video!

TigerCat
Автор

Hi, in Author class you use virtual ICollection<Book> Books property. But previously you told that virtual keyword adds onlt overheads for eager loading. Or I've missed something?

alexshad
Автор

What happens when you have another shape of the model class that is maybe more concise or something. like say you have a second version called BookModel2 that is used by a specific view where is all of this mapping logic stored?

z_prospective
Автор

Thanks you!
What about DTOs ?
Can you use it in place of mvc model then use mvvm for view model ?

Use the auto mapper to map the entities to the dtos for mvc ?

cooperx
Автор

Does the extension method have to return an Iqueryable? Does it have better performance than an Icollection?

slikmargor
Автор

Thank you for this series. I would love a full C# web API tutorial but I know that's probably a big ask!

nick
Автор

I have a question.. In what layer of the application would you put this BookModel class?

z_prospective
Автор

In .NET 7, when rename the column, we don't loss any data in this column without changing the code in Migrations folder

hungnguyenviet
Автор

Great video, is there anywhere where i can learn more about that static extension method? IQueryable<Model> ?
I would like to get a better idea of how using (this IQueryable<Book>) in this method extends the IQueryable<Book> object.
And if in this case shouldn't this be an extension to Book, or even IQueryable rather than on bookmodel? this function cannot be applied to a BookModel, right?
Thanks

spwim
Автор

Thanks a lot for a good and understandable video! 👌

teto
Автор

Great Video !
Do you have Roles tutorial videos?

thuyuyenlovely
Автор

I am naming my "view models" dto (data transfer object ) what is your thought on this sir ?

armanx
Автор

Very good video sir thank you for your effort :)

armanx