IdentityUserContext<TUser> 클래스

정의

ID에 사용되는 Entity Framework 데이터베이스 컨텍스트의 기본 클래스입니다.

generic <typename TUser>
 where TUser : IdentityUserpublic ref class IdentityUserContext : Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityUserContext<TUser, System::String ^>
public class IdentityUserContext<TUser> : Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserContext<TUser,string> where TUser : IdentityUser
type IdentityUserContext<'User (requires 'User :> IdentityUser)> = class
    inherit IdentityUserContext<'User, string (requires 'User :> IdentityUser)>
Public Class IdentityUserContext(Of TUser)
Inherits IdentityUserContext(Of TUser, String)

형식 매개 변수

TUser

사용자 개체의 형식입니다.

상속
IdentityUserContext<TUser>

생성자

IdentityUserContext<TUser>()

IdentityUserContext<TUser> 클래스의 새 인스턴스를 초기화합니다.

IdentityUserContext<TUser>(DbContextOptions)

IdentityUserContext<TUser>의 새 인스턴스를 초기화합니다.

속성

SchemaVersion

버전 관리에 사용되는 스키마 버전을 가져옵니다.

(다음에서 상속됨 IdentityUserContext<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
UserClaims

사용자 클레임의 를 DbSet<TEntity> 가져오거나 설정합니다.

(다음에서 상속됨 IdentityUserContext<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
UserLogins

사용자 로그인의 를 DbSet<TEntity> 가져오거나 설정합니다.

(다음에서 상속됨 IdentityUserContext<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
Users

사용자의 를 DbSet<TEntity> 가져오거나 설정합니다.

(다음에서 상속됨 IdentityUserContext<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)
UserTokens

사용자 토큰의 를 DbSet<TEntity> 가져오거나 설정합니다.

(다음에서 상속됨 IdentityUserContext<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)

메서드

OnModelCreating(ModelBuilder)

ID 프레임워크에 필요한 스키마를 구성합니다.

(다음에서 상속됨 IdentityUserContext<TUser,TKey,TUserClaim,TUserLogin,TUserToken>)

적용 대상