MongoFramework
MongoFramework copied to clipboard
An "Entity Framework"-like interface for MongoDB
Blog post: https://www.mongodb.com/developer/how-to/new-time-series-collections/ Docs: https://www.mongodb.com/docs/manual/core/timeseries-collections/ Available in MongoDB 5+ This may end up replacing Entity Buckets but further research is required.
See: https://www.mongodb.com/developer/article/introducing-mongodb-analyzer-dotnet/ Basically there is an analyser package that helps with LINQ query building. It _likely_ looks for certain interfaces that exist in the official driver but there may still...
```csharp public class TestObject { public string Id { get; set; } public List Locations { get; set; } } public class Location { [Index(IndexType.Geo2dSphere)] public GeoJsonPoint Coords { get;...
## Summary Currently, MongoFramework is a nice tool for small projects, however, it still requires a lot of improvements. ### Issue 1: _t value When the persistence layer writes any...
Continuing from the ideas of #87 , it is probably worthwhile to make a custom entity serializer that uses the `EntityDefinition` rather than `BsonClassMap`. Every type that gets an entity...
Effectively default the behaviour of `BsonIgnoreIfNull` on all properties. If I understand it correctly, there shouldn't be any noticeable impact from this change besides less data in the DB. More...
Support two levels of transactions - transaction that wrap the `SaveChanges` call from the `MongoDbContext` and the internal batch write calls in the `DbEntityWriter`. https://mongodb.github.io/mongo-csharp-driver/2.7/what_is_new/ https://mongodb.github.io/mongo-csharp-driver/2.7/reference/driver/crud/sessions_and_transactions/ Will need to maintain...
Hi, I have a question about the .RemoveById (...) method, at the moment that I execute it in a context with a collection Tenant does not set the deletion of...
I've been thinking about this - it might not actually be necessary to have this support. The driver requires it because of the idea that you might be overwriting things...
I'm knocking my head around for something I think should work, but it's not. I have a class with a list of interfaces (events). public myclass { List Events; }...