.NET 6 EF Core  Load Related Data with Include(), ThenInclude() & AutoInclude()

.NET 6 EF Core Load Related Data with Include(), ThenInclude() & AutoInclude()

Patrick God

2 года назад

21,917 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@ryuujius
@ryuujius - 13.09.2023 13:21

it was amazing, thx

Ответить
@adamblade9156
@adamblade9156 - 06.07.2023 16:22

Have you ever encountered a situation where calling Include doesn't actually do anything?

Ответить
@mocococo2877
@mocococo2877 - 09.06.2023 06:34

Oh, c'm on, they are saving humanity so many times and you are lazy to put all their names ??
Hello, greetings from Bulgaria. Thank you for taking time to make and present those nice tutorials.

Please tell, does AutoInclude means that Comics from now on will be always loaded with eager loaded Teams and and SuperHeroes.? Looks like if we want to load only Comics for any reason, it would be impossible.

Ответить
@ianchongwe8378
@ianchongwe8378 - 25.11.2022 10:37

Your videos make me feel warm and unlike the others at least i don't feel slow or dumb and i can do things at my pace

Ответить
@rui2005gmailcom
@rui2005gmailcom - 19.11.2022 23:06

Hi! You saved me with the .ThenInclude() statement. Thanks a lot.

Ответить
@fcdarjan
@fcdarjan - 06.10.2022 18:11

sir can you add many to many and 1 to 1 on this example? I cant seem to figure it out with autoinclude?

Ответить
@anguegps
@anguegps - 21.09.2022 05:56

Obrigado pelo vídeo, excelente explicação Patrick!

Ответить
@learner8084
@learner8084 - 18.09.2022 16:54

Great video. What I needed. Liked and subs

Ответить
@blunty6feetunder
@blunty6feetunder - 18.08.2022 04:28

Thanks a bunch, this is exactly what I needed to solve my problem

Ответить
@Pentatonic_Hardcore
@Pentatonic_Hardcore - 28.07.2022 09:39

thanks for your videos, I really like them. I have question, if I have a big domain model with nested classes in it about 5-6 levels, like class in a class, what is the best way to store them in a db. For getting them from db EF have to join about 5-6 tables which is not good I suppose. is it possible to do it to without losing performance? thanks in advance

Ответить
@Nullfighter
@Nullfighter - 12.07.2022 01:51

Hey Patrick!
I really enjoy your videos, and I stopped by here after seeing .Include() in your udemy blazor ecommerce tutorial.

Your content is very useful for the "how" factor of these technologies. I now know how to use these tools. But I know I would appreciate more of the "why" (ala IAmTimCorey). In this example I didn't even know the navigation types within stored class weren't automatic included.

On your e-commerce tutorial, you tell us what to do but not always why we are doing it or how it works or why it is necessary.

Again though your tutorials have been very valuable for me to see HOW professional apps get made but I wish they came with more context.

Thank you for this awesome free content!

Ответить
@sharuongames8016
@sharuongames8016 - 07.07.2022 12:40

Hi Patrick, Nice video... One question, how to take top 3 rows of the included child... that's teams in your case

Ответить
@sarwarmahmudmilon4212
@sarwarmahmudmilon4212 - 28.06.2022 06:23

thanks .helpful

Ответить
@shahabjoon201
@shahabjoon201 - 12.05.2022 15:31

Perfect Mr. God, thanks.

Ответить
@alexannder15
@alexannder15 - 09.04.2022 20:03

Good videos man

Ответить
@timeforrice
@timeforrice - 28.02.2022 02:01

Good one!!

Ответить
@Pedeninious
@Pedeninious - 24.02.2022 03:49

Thank you for the videos. I would like to see more Blazor user interface content.

Ответить
@fateevanton
@fateevanton - 18.02.2022 18:32

Thanx a lot for AutoInclude =)

Ответить
@marumoseboyamulaudzi6308
@marumoseboyamulaudzi6308 - 27.01.2022 17:43

Thank God I came across your channel Mr. Patrick. This is exactly what I needed. Thank you.

Ответить
@ferdicuyar814
@ferdicuyar814 - 20.01.2022 11:52

Dear patric in my past trys; forexample i got class1 with properties list<class2> and list<Class3> when i call from database i could not do like this; db.class1s.Include(x=>x.class2s).Include(x=>x.class3s).ToList()... it gives error. Right exampe is db.class1s.Include(x=>x.class2s).Include(y=>y.class3s).ToList().

Ответить
@soyermert
@soyermert - 18.01.2022 23:55

Do you suggest any roadmaps like day by day coding for improve the .net core skills ?

Ответить
@LukeAvedon
@LukeAvedon - 18.01.2022 06:16

Great tutorial! I think it is, indeed, Detective Comics.

Ответить
@ramiroalegre8183
@ramiroalegre8183 - 17.01.2022 00:10

Nice video Patrick, new suscribe. I wait for more .NET 6 content!

Ответить
@darwismuhammadarifin4914
@darwismuhammadarifin4914 - 10.01.2022 16:25

Hii Patrick nice video. btw I'm still confused between ToList() vs ToListAsync which is better performance-wise?

Ответить
@m.ramadan
@m.ramadan - 08.01.2022 22:08

You are the best Patrick, thank you very much for the videos💪🏻

Ответить
@Handy-Handy
@Handy-Handy - 07.01.2022 20:22

An other great video!! Many many thanks to you Patrick!!

Ответить
@rentozoid41
@rentozoid41 - 05.01.2022 17:38

Patrick, thanks a lot. I love your video. It would be great to see some more videos about .Net 6 where you would show us more API development.

Ответить
@arielsartor6023
@arielsartor6023 - 05.01.2022 17:00

Simple and concrete, great video!! thanks

Ответить
@cjt9150
@cjt9150 - 05.01.2022 05:05

Patrick, amazing move. Superb. Keepit up. Can you include videos like calling stored procedure from .net 6 / 5, and using dapper. and splitting projects into small micro services and more....

Ответить