Condividi tramite


IdentityEntityFrameworkBuilderExtensions.AddEntityFrameworkStores Metodo

Definizione

Overload

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

Aggiunge un'implementazione di Entity Framework degli archivi di informazioni sulle 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

Parametri di tipo

TContext
TKey

Parametri

builder
IdentityBuilder

Restituisce

Si applica a

AddEntityFrameworkStores<TContext>(IdentityBuilder)

Origine:
IdentityEntityFrameworkBuilderExtensions.cs
Origine:
IdentityEntityFrameworkBuilderExtensions.cs
Origine:
IdentityEntityFrameworkBuilderExtensions.cs
Origine:
IdentityEntityFrameworkBuilderExtensions.cs
Origine:
IdentityEntityFrameworkBuilderExtensions.cs
Origine:
IdentityEntityFrameworkBuilderExtensions.cs
Origine:
IdentityEntityFrameworkBuilderExtensions.cs
Origine:
IdentityEntityFrameworkBuilderExtensions.cs
Origine:
IdentityEntityFrameworkBuilderExtensions.cs

Aggiunge un'implementazione di Entity Framework degli archivi di informazioni sulle 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

Parametri di tipo

TContext

Contesto del database Entity Framework da usare.

Parametri

builder
IdentityBuilder

L'istanza di IdentityBuilder questo metodo si estende.

Restituisce

L'istanza di IdentityBuilder questo metodo si estende.

Si applica a