IdentityEntityFrameworkBuilderExtensions.AddEntityFrameworkStores IdentityEntityFrameworkBuilderExtensions.AddEntityFrameworkStores IdentityEntityFrameworkBuilderExtensions.AddEntityFrameworkStores Method

Definition

Overloads

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

Adds an Entity Framework implementation of identity information stores.

AddEntityFrameworkStores<TContext>(IdentityBuilder) AddEntityFrameworkStores<TContext>(IdentityBuilder) AddEntityFrameworkStores<TContext>(IdentityBuilder)

Adds an Entity Framework implementation of identity information stores.

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

Adds an Entity Framework implementation of identity information stores.

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

Type Parameters

TContext

The Entity Framework database context to use.

TKey

The type of the primary key used for the users and roles.

Parameters

builder
IdentityBuilder IdentityBuilder IdentityBuilder

The IdentityBuilder instance this method extends.

Returns

AddEntityFrameworkStores<TContext>(IdentityBuilder) AddEntityFrameworkStores<TContext>(IdentityBuilder) AddEntityFrameworkStores<TContext>(IdentityBuilder)

Adds an Entity Framework implementation of identity information stores.

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

Type Parameters

TContext

The Entity Framework database context to use.

Parameters

builder
IdentityBuilder IdentityBuilder IdentityBuilder

The IdentityBuilder instance this method extends.

Returns

Applies to