From 54b2a63a8e2a2cf0e81a4755882b200bf58c270e Mon Sep 17 00:00:00 2001 From: Alexandre SPIESER Date: Wed, 6 May 2020 08:11:31 +0100 Subject: [PATCH] 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).