/// <summary> /// Registers the OpenIddict entity sets in the Entity Framework 6.x context /// using the default OpenIddict models and the default key type (string). /// </summary> /// <param name="builder">The builder used to configure the Entity Framework context.</param> /// <returns>The Entity Framework context builder.</returns> public static DbModelBuilder UseOpenIddict([NotNull] this DbModelBuilder builder) => builder.UseOpenIddict <OpenIddictApplication, OpenIddictAuthorization, OpenIddictScope, OpenIddictToken, string>();
/// <summary> /// Registers the OpenIddict entity sets in the Entity Framework 6.x context /// using the default OpenIddict models and the default key type (string). /// </summary> /// <param name="builder">The builder used to configure the Entity Framework context.</param> /// <returns>The Entity Framework context builder.</returns> public static DbModelBuilder UseOpenIddict(this DbModelBuilder builder) => builder.UseOpenIddict <OpenIddictEntityFrameworkApplication, OpenIddictEntityFrameworkAuthorization, OpenIddictEntityFrameworkScope, OpenIddictEntityFrameworkToken, string>();