Поделиться через


ApiAuthorizationDbContext<TUser> Конструкторы

Определение

Перегрузки

ApiAuthorizationDbContext<TUser>(DbContextOptions, IOptions<OperationalStoreOptions>)

Инициализирует новый экземпляр ApiAuthorizationDbContext<TUser>.

ApiAuthorizationDbContext<TUser>(DbContextOptions, IOptions<OperationalStoreOptions>)

Инициализирует новый экземпляр ApiAuthorizationDbContext<TUser>.

ApiAuthorizationDbContext<TUser>(DbContextOptions, IOptions<OperationalStoreOptions>)

Исходный код:
ApiAuthorizationDbContext.cs
Исходный код:
ApiAuthorizationDbContext.cs
Исходный код:
ApiAuthorizationDbContext.cs

Инициализирует новый экземпляр ApiAuthorizationDbContext<TUser>.

public ApiAuthorizationDbContext (Microsoft.EntityFrameworkCore.DbContextOptions options, Microsoft.Extensions.Options.IOptions<Duende.IdentityServer.EntityFramework.Options.OperationalStoreOptions> operationalStoreOptions);
new Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ApiAuthorizationDbContext<'User (requires 'User :> Microsoft.AspNetCore.Identity.IdentityUser)> : Microsoft.EntityFrameworkCore.DbContextOptions * Microsoft.Extensions.Options.IOptions<Duende.IdentityServer.EntityFramework.Options.OperationalStoreOptions> -> Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ApiAuthorizationDbContext<'User (requires 'User :> Microsoft.AspNetCore.Identity.IdentityUser)>
Public Sub New (options As DbContextOptions, operationalStoreOptions As IOptions(Of OperationalStoreOptions))

Параметры

operationalStoreOptions
IOptions<Duende.IdentityServer.EntityFramework.Options.OperationalStoreOptions>

IOptions<TOptions>.

Применяется к

ApiAuthorizationDbContext<TUser>(DbContextOptions, IOptions<OperationalStoreOptions>)

Исходный код:
ApiAuthorizationDbContext.cs
Исходный код:
ApiAuthorizationDbContext.cs
Исходный код:
ApiAuthorizationDbContext.cs

Инициализирует новый экземпляр ApiAuthorizationDbContext<TUser>.

public:
 ApiAuthorizationDbContext(Microsoft::EntityFrameworkCore::DbContextOptions ^ options, Microsoft::Extensions::Options::IOptions<IdentityServer4::EntityFramework::Options::OperationalStoreOptions ^> ^ operationalStoreOptions);
public ApiAuthorizationDbContext (Microsoft.EntityFrameworkCore.DbContextOptions options, Microsoft.Extensions.Options.IOptions<IdentityServer4.EntityFramework.Options.OperationalStoreOptions> operationalStoreOptions);
new Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ApiAuthorizationDbContext<'User (requires 'User :> Microsoft.AspNetCore.Identity.IdentityUser)> : Microsoft.EntityFrameworkCore.DbContextOptions * Microsoft.Extensions.Options.IOptions<IdentityServer4.EntityFramework.Options.OperationalStoreOptions> -> Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ApiAuthorizationDbContext<'User (requires 'User :> Microsoft.AspNetCore.Identity.IdentityUser)>
Public Sub New (options As DbContextOptions, operationalStoreOptions As IOptions(Of OperationalStoreOptions))

Параметры

operationalStoreOptions
IOptions<IdentityServer4.EntityFramework.Options.OperationalStoreOptions>

IOptions<TOptions>.

Применяется к