ApiAuthorizationDbContext<TUser> Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
ApiAuthorizationDbContext<TUser>(DbContextOptions, IOptions<OperationalStoreOptions>) |
Initialise une nouvelle instance de ApiAuthorizationDbContext<TUser>. |
ApiAuthorizationDbContext<TUser>(DbContextOptions, IOptions<OperationalStoreOptions>) |
Initialise une nouvelle instance de ApiAuthorizationDbContext<TUser>. |
ApiAuthorizationDbContext<TUser>(DbContextOptions, IOptions<OperationalStoreOptions>)
- Source:
- ApiAuthorizationDbContext.cs
- Source:
- ApiAuthorizationDbContext.cs
- Source:
- ApiAuthorizationDbContext.cs
Initialise une nouvelle instance de 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))
Paramètres
- options
- DbContextOptions
L’DbContextOptionsopérateur
- operationalStoreOptions
- IOptions<Duende.IdentityServer.EntityFramework.Options.OperationalStoreOptions>
L’IOptions<TOptions>opérateur
S’applique à
ApiAuthorizationDbContext<TUser>(DbContextOptions, IOptions<OperationalStoreOptions>)
- Source:
- ApiAuthorizationDbContext.cs
- Source:
- ApiAuthorizationDbContext.cs
- Source:
- ApiAuthorizationDbContext.cs
Initialise une nouvelle instance de 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))
Paramètres
- options
- DbContextOptions
L’DbContextOptionsopérateur
- operationalStoreOptions
- IOptions<IdentityServer4.EntityFramework.Options.OperationalStoreOptions>
L’IOptions<TOptions>opérateur