Partager via


IdentityEntityFrameworkBuilderExtensions.AddEntityFrameworkStores Méthode

Définition

Surcharges

AddEntityFrameworkStores<TContext,TKey>(IdentityBuilder)
AddEntityFrameworkStores<TContext>(IdentityBuilder)

Ajoute une implémentation Entity Framework de magasins d’informations d’identité.

AddEntityFrameworkStores<TContext,TKey>(IdentityBuilder)

public static Microsoft.AspNetCore.Identity.IdentityBuilder AddEntityFrameworkStores<TContext,TKey> (this Microsoft.AspNetCore.Identity.IdentityBuilder builder) where TContext : Microsoft.EntityFrameworkCore.DbContext where TKey : IEquatable<TKey>;
static member AddEntityFrameworkStores : Microsoft.AspNetCore.Identity.IdentityBuilder -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext and 'Key :> IEquatable<'Key>)
<Extension()>
Public Function AddEntityFrameworkStores(Of TContext As DbContext, TKey As DbContext) (builder As IdentityBuilder) As IdentityBuilder

Paramètres de type

TContext
TKey

Paramètres

builder
IdentityBuilder

Retours

S’applique à

AddEntityFrameworkStores<TContext>(IdentityBuilder)

Source:
IdentityEntityFrameworkBuilderExtensions.cs
Source:
IdentityEntityFrameworkBuilderExtensions.cs
Source:
IdentityEntityFrameworkBuilderExtensions.cs
Source:
IdentityEntityFrameworkBuilderExtensions.cs
Source:
IdentityEntityFrameworkBuilderExtensions.cs
Source:
IdentityEntityFrameworkBuilderExtensions.cs
Source:
IdentityEntityFrameworkBuilderExtensions.cs
Source:
IdentityEntityFrameworkBuilderExtensions.cs
Source:
IdentityEntityFrameworkBuilderExtensions.cs

Ajoute une implémentation Entity Framework de magasins d’informations d’identité.

public static Microsoft.AspNetCore.Identity.IdentityBuilder AddEntityFrameworkStores<TContext> (this Microsoft.AspNetCore.Identity.IdentityBuilder builder) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member AddEntityFrameworkStores : Microsoft.AspNetCore.Identity.IdentityBuilder -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
<Extension()>
Public Function AddEntityFrameworkStores(Of TContext As DbContext) (builder As IdentityBuilder) As IdentityBuilder

Paramètres de type

TContext

Contexte de base de données Entity Framework à utiliser.

Paramètres

builder
IdentityBuilder

La IdentityBuilder instance cette méthode s’étend.

Retours

La IdentityBuilder instance cette méthode s’étend.

S’applique à