From cf1d3788cb9c846ba5921713260a1cec8100c2a9 Mon Sep 17 00:00:00 2001 From: Scott Addie <10702007+scottaddie@users.noreply.github.com> Date: Thu, 13 Jun 2019 13:11:01 -0500 Subject: [PATCH] Correct verbiage regarding interface inheritance --- .../data-protection/implementation/key-storage-providers.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aspnetcore/security/data-protection/implementation/key-storage-providers.md b/aspnetcore/security/data-protection/implementation/key-storage-providers.md index ede58f7115..742a91ebeb 100644 --- a/aspnetcore/security/data-protection/implementation/key-storage-providers.md +++ b/aspnetcore/security/data-protection/implementation/key-storage-providers.md @@ -139,8 +139,7 @@ To configure the EF Core provider, call the [`PersistKeysToDbContext`] [!code-csharp[Main](key-storage-providers/sample/Startup.cs?name=snippet&highlight=13-15)] -The generic parameter, `TContext`, must inherit from [DbContext](/dotnet/api/microsoft.entityframeworkcore.dbcontext) and -[IDataProtectionKeyContext](/dotnet/api/microsoft.aspnetcore.dataprotection.entityframeworkcore.idataprotectionkeycontext): +The generic parameter, `TContext`, must inherit from [DbContext](/dotnet/api/microsoft.entityframeworkcore.dbcontext) and implement [IDataProtectionKeyContext](/dotnet/api/microsoft.aspnetcore.dataprotection.entityframeworkcore.idataprotectionkeycontext): [!code-csharp[Main](key-storage-providers/sample/MyKeysContext.cs)]