IdentityDbContext クラス

定義

ID に使用される Entity Framework データベース コンテキストの基本クラス。

public ref class IdentityDbContext : Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityDbContext<Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityUser ^, Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityRole ^, System::String ^>
public ref class IdentityDbContext : Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityDbContext<Microsoft::AspNetCore::Identity::IdentityUser ^, Microsoft::AspNetCore::Identity::IdentityRole ^, System::String ^>
public class IdentityDbContext : Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext<Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUser,Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRole,string>
public class IdentityDbContext : Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext<Microsoft.AspNetCore.Identity.IdentityUser,Microsoft.AspNetCore.Identity.IdentityRole,string>
type IdentityDbContext = class
    inherit IdentityDbContext<IdentityUser, IdentityRole, string>
Public Class IdentityDbContext
Inherits IdentityDbContext(Of IdentityUser, IdentityRole, String)
継承
継承

コンストラクター

IdentityDbContext()

IdentityDbContext クラスの新しいインスタンスを初期化します。

IdentityDbContext(DbContextOptions)

IdentityDbContext の新しいインスタンスを初期化します。

プロパティ

RoleClaims

ロール要求の を DbSet<TEntity> 取得または設定します。

(継承元 IdentityDbContext<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TRoleClaim,TUserToken>)
Roles

ロールの を DbSet<TEntity> 取得または設定します。

(継承元 IdentityDbContext<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TRoleClaim,TUserToken>)
SchemaVersion

バージョン管理に使用されるスキーマ バージョンを取得します。

(継承元 IdentityUserContext<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
UserClaims

ユーザー要求の を DbSet<TEntity> 取得または設定します。

(継承元 IdentityDbContext<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TRoleClaim,TUserToken>)
UserLogins

ユーザー ログインの を DbSet<TEntity> 取得または設定します。

(継承元 IdentityDbContext<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TRoleClaim,TUserToken>)
UserRoles

ユーザー ロールの を DbSet<TEntity> 取得または設定します。

(継承元 IdentityDbContext<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TRoleClaim,TUserToken>)
Users

Users の を DbSet<TEntity> 取得または設定します。

(継承元 IdentityDbContext<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TRoleClaim,TUserToken>)
UserTokens

ユーザー トークンの を DbSet<TEntity> 取得または設定します。

(継承元 IdentityDbContext<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TRoleClaim,TUserToken>)

メソッド

OnModelCreating(ModelBuilder)

ID フレームワークに必要なスキーマを構成します。

(継承元 IdentityDbContext<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TRoleClaim,TUserToken>)

適用対象