diff --git a/src/OpenIddict.EntityFrameworkCore/OpenIddictEntityFrameworkCoreCustomizer.cs b/src/OpenIddict.EntityFrameworkCore/OpenIddictEntityFrameworkCoreCustomizer.cs index 9789ebdb..8ee0f83e 100644 --- a/src/OpenIddict.EntityFrameworkCore/OpenIddictEntityFrameworkCoreCustomizer.cs +++ b/src/OpenIddict.EntityFrameworkCore/OpenIddictEntityFrameworkCoreCustomizer.cs @@ -4,6 +4,7 @@ * the license and the contributors participating to this project. */ +using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using OpenIddict.EntityFrameworkCore.Models; @@ -13,6 +14,7 @@ namespace OpenIddict.EntityFrameworkCore; /// Represents a model customizer able to register the entity sets /// required by the OpenIddict stack in an Entity Framework Core context. /// +[EditorBrowsable(EditorBrowsableState.Never)] public sealed class OpenIddictEntityFrameworkCoreCustomizer< [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] TApplication, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] TAuthorization, diff --git a/src/OpenIddict.EntityFrameworkCore/OpenIddictEntityFrameworkCoreHelpers.cs b/src/OpenIddict.EntityFrameworkCore/OpenIddictEntityFrameworkCoreHelpers.cs index ee927da2..3c7d5df3 100644 --- a/src/OpenIddict.EntityFrameworkCore/OpenIddictEntityFrameworkCoreHelpers.cs +++ b/src/OpenIddict.EntityFrameworkCore/OpenIddictEntityFrameworkCoreHelpers.cs @@ -22,8 +22,8 @@ public static class OpenIddictEntityFrameworkCoreHelpers /// Registers the OpenIddict entity sets in the Entity Framework Core context /// using the default OpenIddict models and the default key type (string). /// - /// The builder used to configure the Entity Framework context. - /// The Entity Framework context builder. + /// The builder used to configure the Entity Framework Core context. + /// The Entity Framework Core context builder. public static DbContextOptionsBuilder UseOpenIddict(this DbContextOptionsBuilder builder) => builder.UseOpenIddict - /// The builder used to configure the Entity Framework context. - /// The Entity Framework context builder. + /// The builder used to configure the Entity Framework Core context. + /// The Entity Framework Core context builder. public static DbContextOptionsBuilder UseOpenIddict(this DbContextOptionsBuilder builder) where TContext : DbContext { @@ -51,8 +51,8 @@ public static class OpenIddictEntityFrameworkCoreHelpers /// Note: when using a custom key type, the new key type MUST be registered by calling /// . /// - /// The builder used to configure the Entity Framework context. - /// The Entity Framework context builder. + /// The builder used to configure the Entity Framework Core context. + /// The Entity Framework Core context builder. public static DbContextOptionsBuilder UseOpenIddict< [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] TKey>(this DbContextOptionsBuilder builder) where TKey : notnull, IEquatable @@ -69,8 +69,8 @@ public static class OpenIddictEntityFrameworkCoreHelpers /// Note: when using a custom key type, the new key type MUST be registered by calling /// . /// - /// The builder used to configure the Entity Framework context. - /// The Entity Framework context builder. + /// The builder used to configure the Entity Framework Core context. + /// The Entity Framework Core context builder. public static DbContextOptionsBuilder UseOpenIddict< [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] TKey, TContext>(this DbContextOptionsBuilder builder) @@ -89,8 +89,8 @@ public static class OpenIddictEntityFrameworkCoreHelpers /// Note: when using custom entities, the new entities MUST be registered by calling /// . /// - /// The builder used to configure the Entity Framework context. - /// The Entity Framework context builder. + /// The builder used to configure the Entity Framework Core context. + /// The Entity Framework Core context builder. public static DbContextOptionsBuilder UseOpenIddict< [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] TApplication, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] TAuthorization, @@ -124,8 +124,8 @@ public static class OpenIddictEntityFrameworkCoreHelpers /// Note: when using custom entities, the new entities MUST be registered by calling /// . /// - /// The builder used to configure the Entity Framework context. - /// The Entity Framework context builder. + /// The builder used to configure the Entity Framework Core context. + /// The Entity Framework Core context builder. public static DbContextOptionsBuilder UseOpenIddict< [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] TApplication, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] TAuthorization, @@ -149,8 +149,8 @@ public static class OpenIddictEntityFrameworkCoreHelpers /// Registers the OpenIddict entity sets in the Entity Framework Core context /// using the default OpenIddict models and the default key type (string). /// - /// The builder used to configure the Entity Framework context. - /// The Entity Framework context builder. + /// The builder used to configure the Entity Framework Core context. + /// The Entity Framework Core context builder. public static ModelBuilder UseOpenIddict(this ModelBuilder builder) => builder.UseOpenIddict. /// - /// The builder used to configure the Entity Framework context. - /// The Entity Framework context builder. + /// The builder used to configure the Entity Framework Core context. + /// The Entity Framework Core context builder. public static ModelBuilder UseOpenIddict< [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] TKey>(this ModelBuilder builder) where TKey : notnull, IEquatable => builder.UseOpenIddict, @@ -182,8 +182,8 @@ public static class OpenIddictEntityFrameworkCoreHelpers /// Note: when using custom entities, the new entities MUST be registered by calling /// . /// - /// The builder used to configure the Entity Framework context. - /// The Entity Framework context builder. + /// The builder used to configure the Entity Framework Core context. + /// The Entity Framework Core context builder. public static ModelBuilder UseOpenIddict< [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] TApplication, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] TAuthorization,