Dela via


IdentityEntityFrameworkBuilderExtensions.AddEntityFrameworkStores Method

Definition

Overloads

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

Adds an Entity Framework implementation of identity information stores.

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

Type Parameters

TContext
TKey

Parameters

builder
IdentityBuilder

Returns

Applies to

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

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

The IdentityBuilder instance this method extends.

Returns

The IdentityBuilder instance this method extends.

Applies to