From afd03088492a6e4ec9d9545a52673d19768c2af8 Mon Sep 17 00:00:00 2001 From: Alexandre SPIESER Date: Wed, 22 Apr 2020 19:16:57 +0100 Subject: [PATCH 1/5] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index d6bb9a9..f98d1d4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # MongoDbGenericRepository + An example of generic repository implementation using the MongoDB C# Sharp 2.0 driver (async) Now available as a nuget package: @@ -8,6 +9,12 @@ Covered by 400+ integration tests and counting. The MongoDbGenericRepository is also used in [AspNetCore.Identity.MongoDbCore](https://github.com/alexandre-spieser/AspNetCore.Identity.MongoDbCore). +This package sets the MongoDefaults.GuidRepresentation to `MongoDB.Bson.GuidRepresentation.Standard` by default, instead of the default driver setting of `MongoDB.Bson.GuidRepresentation.CSharpLegacy`. + +You can override this behaviour to enforce legacy behaviour in your app Startup routing like so : + +`MongoDbContext.SetGuidRepresentation(MongoDB.Bson.GuidRepresentation.CSharpLegacy)`. More info [here](https://github.com/alexandre-spieser/mongodb-generic-repository/issues/7). + # Usage examples This repository is meant to be inherited from. From dbb27aad39683b8f190369ba1d5f6e364178ae10 Mon Sep 17 00:00:00 2001 From: Alexandre SPIESER Date: Wed, 22 Apr 2020 19:18:18 +0100 Subject: [PATCH 2/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f98d1d4..243c8fd 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Covered by 400+ integration tests and counting. The MongoDbGenericRepository is also used in [AspNetCore.Identity.MongoDbCore](https://github.com/alexandre-spieser/AspNetCore.Identity.MongoDbCore). -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 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 routing like so : From 54b2a63a8e2a2cf0e81a4755882b200bf58c270e Mon Sep 17 00:00:00 2001 From: Alexandre SPIESER Date: Wed, 6 May 2020 08:11:31 +0100 Subject: [PATCH 3/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 243c8fd..e0ceff5 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ The MongoDbGenericRepository is also used in [AspNetCore.Identity.MongoDbCore](h 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 routing like so : +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). From 91d15312e6b2fc46a143d5b2e6bad2d554bc6db4 Mon Sep 17 00:00:00 2001 From: Alexandre SPIESER Date: Fri, 5 Jun 2020 07:26:28 +0100 Subject: [PATCH 4/5] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index e0ceff5..cba8b01 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,10 @@ You can override this behaviour to enforce legacy behaviour in your app Startup `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. From 601c0fd02dce080578583c2ecb371b9c64487b02 Mon Sep 17 00:00:00 2001 From: Alexandre SPIESER Date: Sat, 6 Jun 2020 08:31:35 +0100 Subject: [PATCH 5/5] 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.