mongodb-generic-repository
mongodb-generic-repository copied to clipboard
An example of generic repository implementation using the MongoDB C# Sharp 2.0 driver (async)
Hi, is it possible to implement Discriminator? Thank you ``` [BsonDiscriminator(RootClass = true)] [BsonKnownTypes(typeof(MyClass1), typeof(MyClass2))] public class MyClass { } ```
Hey, thanks for maintaining this package, it's super useful! I've bumped the MongoDB.Driver package to 2.15, as it's needed to use MongoDB 5.2. This required dropping support for netstandard1.5 and...
I try to use Aggegate with Database.GetCollection(GetCollectionName(partitionKey)) but it get this error: Cannot implicitly convert type 'MongoDB.Driver.IAggregateFluent' to 'MongoDB.Driver.IMongoCollection' How can I use AllowDiskUse?
I was not touch the update part yet because we make use of native mongodb operation already, but lacking of `UpdateOptions`. I was planning to mark them as obsolete so...
Bumps [SharpCompress](https://github.com/adamhathcock/sharpcompress) from 0.23.0 to 0.29.0. Release notes Sourced from SharpCompress's releases. 0.29.0 - minor behavior change and fixes Two minor fixes from contributors and a behavior fix for extraction....
Hi, You intend to implement a transaction-like pattern such as two-phase commit?
Hi! What performance reprecussions should I expect when the repository is configured to be scoped instead of singleton? In my scenario, I'm trying to implement multitenancy (DB per tenant strategy)...
I am trying to MOQ the BaseMongoRepository methods to have a unit test for my application, but I cannot MOQ the methods, is there an example available for creating MOQ...
I can't get the docs to show up in CosmosDB. I'm getting this error: "Error querying documents: The GuidRepresentation for the reader is CSharpLegacy, which requires the binary sub type...
Bumps [Microsoft.AspNetCore.Identity](https://github.com/dotnet/aspnetcore) from 2.1.2 to 2.1.39. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...