diff --git a/src/OpenIddict.EntityFramework/OpenIddictContext.cs b/src/OpenIddict.EntityFramework/OpenIddictContext.cs
index 40303b81..6e192c15 100644
--- a/src/OpenIddict.EntityFramework/OpenIddictContext.cs
+++ b/src/OpenIddict.EntityFramework/OpenIddictContext.cs
@@ -50,13 +50,13 @@ namespace OpenIddict {
/// Represents an OpenIddict-powered Entity Framework context.
///
/// The type of the User entity.
- /// The type of the primary key used by the Identity/OpenIddict entities.
- public class OpenIddictContext : OpenIddictContext, OpenIddictApplication,
- OpenIddictAuthorization,
- OpenIddictScope,
- OpenIddictToken, TKey>
- where TUser : OpenIddictUser
- where TKey : IEquatable {
+ /// The type of the Role entity.
+ public class OpenIddictContext : OpenIddictContext
+ where TUser : OpenIddictUser
+ where TRole : IdentityRole {
///
/// Initializes a new OpenIddict context without configuring the Entity Framework options.
///