From 601c0fd02dce080578583c2ecb371b9c64487b02 Mon Sep 17 00:00:00 2001 From: Alexandre SPIESER Date: Sat, 6 Jun 2020 08:31:35 +0100 Subject: [PATCH] Update README.md --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cba8b01..c3d9777 100644 --- a/README.md +++ b/README.md @@ -9,16 +9,18 @@ Covered by 400+ integration tests and counting. The MongoDbGenericRepository is also used in [AspNetCore.Identity.MongoDbCore](https://github.com/alexandre-spieser/AspNetCore.Identity.MongoDbCore). +# Support This Project + +If you have found this project helpful, either as a library that you use or as a learning tool, please consider buying the team a coffee: Buy Me A Coffee + +# Worth Knowing + This package sets the `MongoDefaults.GuidRepresentation` to `MongoDB.Bson.GuidRepresentation.Standard` by default, instead of the default driver setting of `MongoDB.Bson.GuidRepresentation.CSharpLegacy`. This can cause issues if you have been using the driver on an existing application previously or if you are using CosmosDB. You can override this behaviour to enforce legacy behaviour in your app Startup routine like so : `MongoDbContext.SetGuidRepresentation(MongoDB.Bson.GuidRepresentation.CSharpLegacy)`. More info [here](https://github.com/alexandre-spieser/mongodb-generic-repository/issues/7). -# Support This Project -If you have found this project helpful, either as a library that you use or as a learning tool, please consider buying the team a coffee: Buy Me A Coffee - - # Usage examples This repository is meant to be inherited from.