Nice! I'm a .Net developer and a huge MongoDb fan. MongoDb is my go-to database for all my personal projects ( backend services ) but I've always used the MongoDb C# Driver. I'm going to re-write one of my services to use the MongoDB Provider for EF Core as it sounds like I'll still have access to the MongoDb C# driver, if need be. Any other blog posts or source of info that you can suggest on MongoDB Provider for EF Core? Thanks for sharing!
Nice video!!! I really was wondering how to model a dbcontext of a Entity with various entities on it, since i'm migrating from mysql to mongodb, now I have to add lists to it.
I wonder in case this embedded document, like address, can support polymorphism? e.g. application with different data/schema based on the version. I think native mongodb does support it but not sure if EF for mongoDB does? if so how?
I can't find a solution anywhere: if I add a new property to the model (category in this case), I get the error below because the existing documents do not contain this field. How to deal with this scenario since it will be common to have inconsistent fields in documents in a collection? KeyNotFoundException: Element 'Category' not found. MongoDB.Bson.BsonDocument.get_Item(string name)
We have the same issue, for now we are updating documents with default values using MongoDB Driver directly which is very hacky. This should have some official solution. The same for creating indexes, we still need to use Driver directly for such basic operation. For me it's a showstopper for now, but i keep watching the provider
Awesome. I was waiting for this Ef core mongoDb drivers. Please make more videos on ORM with mongoDb.
Yep, embrace your DB 😊😊😊😊
why does the intro music actually go hard
hot chocolate 🕺💃 sqlite 💃💃🕺🕺 data data data
Lol it scared the hell out of my gf 😂😅
Nice! I'm a .Net developer and a huge MongoDb fan. MongoDb is my go-to database for all my personal projects ( backend services ) but I've always used the MongoDb C# Driver.
I'm going to re-write one of my services to use the MongoDB Provider for EF Core as it sounds like I'll still have access to the MongoDb C# driver, if need be.
Any other blog posts or source of info that you can suggest on MongoDB Provider for EF Core?
Thanks for sharing!
Nice video!!! I really was wondering how to model a dbcontext of a Entity with various entities on it, since i'm migrating from mysql to mongodb, now I have to add lists to it.
I wonder in case this embedded document, like address, can support polymorphism? e.g. application with different data/schema based on the version. I think native mongodb does support it but not sure if EF for mongoDB does? if so how?
I can't find a solution anywhere: if I add a new property to the model (category in this case), I get the error below because the existing documents do not contain this field. How to deal with this scenario since it will be common to have inconsistent fields in documents in a collection?
KeyNotFoundException: Element 'Category' not found.
MongoDB.Bson.BsonDocument.get_Item(string name)
We have the same issue, for now we are updating documents with default values using MongoDB Driver directly which is very hacky. This should have some official solution. The same for creating indexes, we still need to use Driver directly for such basic operation. For me it's a showstopper for now, but i keep watching the provider
Thank you for supporting Ukraine! It really means for us.