From addeb9031fcdff4e5de72d1cddca5b08c9f224d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Chalet?= Date: Tue, 13 Dec 2016 15:55:32 +0100 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4dd1044a..5acfc4e2 100644 --- a/README.md +++ b/README.md @@ -148,11 +148,11 @@ public class ApplicationDbContext : IdentityDbContext { } ``` -> **Note:** if you change the default entity primary key (e.g. to `int` or `Guid` instead of `string`), make sure to use the `AddOpenIddict()`/`AddEntityFrameworkCoreStores()` overloads accepting a `TKey` generic argument and use the generic `builder.UseOpenIddict()` overload: +> **Note:** if you change the default entity primary key (e.g. to `int` or `Guid` instead of `string`), make sure to use the `services.AddOpenIddict()`/`builder.UseOpenIddict()` overloads accepting a `TKey` generic argument: ```csharp services.AddOpenIddict() - .AddEntityFrameworkCoreStores() + .AddEntityFrameworkCoreStores() ``` ```csharp