IdentityDbContext<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TRoleClaim,TUserToken> Konstruktor
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
IdentityDbContext<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TRoleClaim,TUserToken>() |
Menginisialisasi instans baru kelas. |
IdentityDbContext<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TRoleClaim,TUserToken>(DbContextOptions) |
Menginisialisasi instans baru kelas. |
IdentityDbContext<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TRoleClaim,TUserToken>()
- Sumber:
- IdentityDbContext.cs
- Sumber:
- IdentityDbContext.cs
- Sumber:
- IdentityDbContext.cs
- Sumber:
- IdentityDbContext.cs
- Sumber:
- IdentityDbContext.cs
- Sumber:
- IdentityDbContext.cs
- Sumber:
- IdentityDbContext.cs
- Sumber:
- IdentityDbContext.cs
- Sumber:
- IdentityDbContext.cs
Menginisialisasi instans baru kelas.
protected:
IdentityDbContext();
protected IdentityDbContext ();
Protected Sub New ()
Berlaku untuk
IdentityDbContext<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TRoleClaim,TUserToken>(DbContextOptions)
- Sumber:
- IdentityDbContext.cs
- Sumber:
- IdentityDbContext.cs
- Sumber:
- IdentityDbContext.cs
- Sumber:
- IdentityDbContext.cs
- Sumber:
- IdentityDbContext.cs
- Sumber:
- IdentityDbContext.cs
- Sumber:
- IdentityDbContext.cs
- Sumber:
- IdentityDbContext.cs
- Sumber:
- IdentityDbContext.cs
Menginisialisasi instans baru kelas.
public:
IdentityDbContext(Microsoft::EntityFrameworkCore::DbContextOptions ^ options);
public IdentityDbContext (Microsoft.EntityFrameworkCore.DbContextOptions options);
new Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext<'User, 'Role, 'Key, 'UserClaim, 'UserRole, 'UserLogin, 'RoleClaim, 'UserToken (requires 'User :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUser<'Key, 'UserClaim, 'UserRole, 'UserLogin> and 'Role :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRole<'Key, 'UserRole, 'RoleClaim> and 'Key :> IEquatable<'Key> and 'UserClaim :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserClaim<'Key> and 'UserRole :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserRole<'Key> and 'UserLogin :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserLogin<'Key> and 'RoleClaim :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRoleClaim<'Key> and 'UserToken :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserToken<'Key>)> : Microsoft.EntityFrameworkCore.DbContextOptions -> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext<'User, 'Role, 'Key, 'UserClaim, 'UserRole, 'UserLogin, 'RoleClaim, 'UserToken (requires 'User :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUser<'Key, 'UserClaim, 'UserRole, 'UserLogin> and 'Role :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRole<'Key, 'UserRole, 'RoleClaim> and 'Key :> IEquatable<'Key> and 'UserClaim :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserClaim<'Key> and 'UserRole :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserRole<'Key> and 'UserLogin :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserLogin<'Key> and 'RoleClaim :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRoleClaim<'Key> and 'UserToken :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserToken<'Key>)>
new Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext<'User, 'Role, 'Key, 'UserClaim, 'UserRole, 'UserLogin, 'RoleClaim, 'UserToken (requires 'User :> Microsoft.AspNetCore.Identity.IdentityUser<'Key> and 'Role :> Microsoft.AspNetCore.Identity.IdentityRole<'Key> and 'Key :> IEquatable<'Key> and 'UserClaim :> Microsoft.AspNetCore.Identity.IdentityUserClaim<'Key> and 'UserRole :> Microsoft.AspNetCore.Identity.IdentityUserRole<'Key> and 'UserLogin :> Microsoft.AspNetCore.Identity.IdentityUserLogin<'Key> and 'RoleClaim :> Microsoft.AspNetCore.Identity.IdentityRoleClaim<'Key> and 'UserToken :> Microsoft.AspNetCore.Identity.IdentityUserToken<'Key>)> : Microsoft.EntityFrameworkCore.DbContextOptions -> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext<'User, 'Role, 'Key, 'UserClaim, 'UserRole, 'UserLogin, 'RoleClaim, 'UserToken (requires 'User :> Microsoft.AspNetCore.Identity.IdentityUser<'Key> and 'Role :> Microsoft.AspNetCore.Identity.IdentityRole<'Key> and 'Key :> IEquatable<'Key> and 'UserClaim :> Microsoft.AspNetCore.Identity.IdentityUserClaim<'Key> and 'UserRole :> Microsoft.AspNetCore.Identity.IdentityUserRole<'Key> and 'UserLogin :> Microsoft.AspNetCore.Identity.IdentityUserLogin<'Key> and 'RoleClaim :> Microsoft.AspNetCore.Identity.IdentityRoleClaim<'Key> and 'UserToken :> Microsoft.AspNetCore.Identity.IdentityUserToken<'Key>)>
Public Sub New (options As DbContextOptions)
Parameter
- options
- DbContextOptions
Opsi yang akan digunakan oleh DbContext.