ApiAuthorizationDbContext<TUser> Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ApiAuthorizationDbContext<TUser>(DbContextOptions, IOptions<OperationalStoreOptions>) |
Initializes a new instance of ApiAuthorizationDbContext<TUser>. |
ApiAuthorizationDbContext<TUser>(DbContextOptions, IOptions<OperationalStoreOptions>) |
Initializes a new instance of ApiAuthorizationDbContext<TUser>. |
ApiAuthorizationDbContext<TUser>(DbContextOptions, IOptions<OperationalStoreOptions>)
- Source:
- ApiAuthorizationDbContext.cs
- Source:
- ApiAuthorizationDbContext.cs
- Source:
- ApiAuthorizationDbContext.cs
Initializes a new instance of 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))
Parameters
- options
- DbContextOptions
The DbContextOptions.
- operationalStoreOptions
- IOptions<Duende.IdentityServer.EntityFramework.Options.OperationalStoreOptions>
The IOptions<TOptions>.
Applies to
ApiAuthorizationDbContext<TUser>(DbContextOptions, IOptions<OperationalStoreOptions>)
- Source:
- ApiAuthorizationDbContext.cs
- Source:
- ApiAuthorizationDbContext.cs
- Source:
- ApiAuthorizationDbContext.cs
Initializes a new instance of 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))
Parameters
- options
- DbContextOptions
The DbContextOptions.
- operationalStoreOptions
- IOptions<IdentityServer4.EntityFramework.Options.OperationalStoreOptions>
The IOptions<TOptions>.