IdentityDbContext<TUser,TRole,TKey> Constructors

Definition

Overloads

IdentityDbContext<TUser,TRole,TKey>()

Initializes a new instance of the class.

IdentityDbContext<TUser,TRole,TKey>(DbContextOptions)

Initializes a new instance of the db context.

IdentityDbContext<TUser,TRole,TKey>()

Source:
IdentityDbContext.cs
Source:
IdentityDbContext.cs
Source:
IdentityDbContext.cs
Source:
IdentityDbContext.cs
Source:
IdentityDbContext.cs
Source:
IdentityDbContext.cs
Source:
IdentityDbContext.cs
Source:
IdentityDbContext.cs

Initializes a new instance of the class.

protected:
 IdentityDbContext();
protected IdentityDbContext ();
Protected Sub New ()

Applies to

IdentityDbContext<TUser,TRole,TKey>(DbContextOptions)

Source:
IdentityDbContext.cs
Source:
IdentityDbContext.cs
Source:
IdentityDbContext.cs
Source:
IdentityDbContext.cs
Source:
IdentityDbContext.cs
Source:
IdentityDbContext.cs
Source:
IdentityDbContext.cs
Source:
IdentityDbContext.cs

Initializes a new instance of the db context.

public:
 IdentityDbContext(Microsoft::EntityFrameworkCore::DbContextOptions ^ options);
public IdentityDbContext (Microsoft.EntityFrameworkCore.DbContextOptions options);
new Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext<'User, 'Role, 'Key (requires 'User :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUser<'Key> and 'Role :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRole<'Key> and 'Key :> IEquatable<'Key>)> : Microsoft.EntityFrameworkCore.DbContextOptions -> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext<'User, 'Role, 'Key (requires 'User :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUser<'Key> and 'Role :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRole<'Key> and 'Key :> IEquatable<'Key>)>
new Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext<'User, 'Role, 'Key (requires 'User :> Microsoft.AspNetCore.Identity.IdentityUser<'Key> and 'Role :> Microsoft.AspNetCore.Identity.IdentityRole<'Key> and 'Key :> IEquatable<'Key>)> : Microsoft.EntityFrameworkCore.DbContextOptions -> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext<'User, 'Role, 'Key (requires 'User :> Microsoft.AspNetCore.Identity.IdentityUser<'Key> and 'Role :> Microsoft.AspNetCore.Identity.IdentityRole<'Key> and 'Key :> IEquatable<'Key>)>
Public Sub New (options As DbContextOptions)

Parameters

options
DbContextOptions

The options to be used by a DbContext.

Applies to