共用方式為


IdentityEntityFrameworkBuilderExtensions.AddEntityFrameworkStores 方法

定義

多載

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

新增身分識別資訊存放區的 Entity Framework 實作。

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

類型參數

TContext
TKey

參數

builder
IdentityBuilder

傳回

適用於

AddEntityFrameworkStores<TContext>(IdentityBuilder)

來源:
IdentityEntityFrameworkBuilderExtensions.cs
來源:
IdentityEntityFrameworkBuilderExtensions.cs
來源:
IdentityEntityFrameworkBuilderExtensions.cs
來源:
IdentityEntityFrameworkBuilderExtensions.cs
來源:
IdentityEntityFrameworkBuilderExtensions.cs
來源:
IdentityEntityFrameworkBuilderExtensions.cs
來源:
IdentityEntityFrameworkBuilderExtensions.cs
來源:
IdentityEntityFrameworkBuilderExtensions.cs
來源:
IdentityEntityFrameworkBuilderExtensions.cs

新增身分識別資訊存放區的 Entity Framework 實作。

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

類型參數

TContext

要使用的 Entity Framework 資料庫內容。

參數

builder
IdentityBuilder

IdentityBuilder這個方法擴充的實例。

傳回

IdentityBuilder這個方法擴充的實例。

適用於