Joining Collections in MongoDB with .NET Core and an Aggregation Pipeline

preview_player
Показать описание

Learn how to use the MongoDB aggregation pipeline to join data from numerous collections using .NET Core and C#.

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

Thank you so much! The linq / strongly typed approach is what we really need in our C# code ;-)

AM-rllv
Автор

Nice. Thanks and Appreciate! I am waiting for LINQ approach :)

Ajmal_Yazdani
Автор

Is there a way to project or map the directly to the c# objects that represent the data? For example, instead of using BsonDocuments as the types, Using a type of Playlist and Movie where the type Playlist contains a property List<Movie>?

Tielc
Автор

Is the LINQ approach already on the channel?

Lazzarus
Автор

That’s very nice, is there way in the pipeline you could just get the movie name out? Thanks

jingzheshan
Автор

You are making harder for yourself by coded linebyline like this. Just compose your Aggregation in MongoDBCompass and export to C# (or any languages), copy and paste ... Done....
LOL, screw the LINQ ...

ConAim