IdentityEntityFrameworkBuilderExtensions.AddEntityFrameworkStores Method

Definition

Overloads

AddEntityFrameworkStores<TContext,TKey>(IdentityBuilder)

Adds an Entity Framework implementation of identity information stores.

AddEntityFrameworkStores<TContext>(IdentityBuilder)

Adds an Entity Framework implementation of identity information stores.

AddEntityFrameworkStores<TContext,TKey>(IdentityBuilder)

Adds an Entity Framework implementation of identity information stores.

public:
generic <typename TContext, typename TKey>
 where TContext : Microsoft::EntityFrameworkCore::DbContext where TKey : IEquatable<TKey>[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Identity::IdentityBuilder ^ AddEntityFrameworkStores(Microsoft::AspNetCore::Identity::IdentityBuilder ^ builder);
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

The IdentityBuilder instance this method extends.

Returns

The IdentityBuilder instance this method extends.

AddEntityFrameworkStores<TContext>(IdentityBuilder)

Adds an Entity Framework implementation of identity information stores.

public:
generic <typename TContext>
 where TContext : Microsoft::EntityFrameworkCore::DbContext[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Identity::IdentityBuilder ^ AddEntityFrameworkStores(Microsoft::AspNetCore::Identity::IdentityBuilder ^ builder);
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