UserStore<TUser,TRole,TContext,TKey> クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定したユーザーとロールの種類の永続化ストアの新しいインスタンスを表します。
generic <typename TUser, typename TRole, typename TContext, typename TKey>
where TUser : IdentityUser<TKey> where TRole : IdentityRole<TKey> where TContext : DbContext where TKey : IEquatable<TKey>public ref class UserStore : Microsoft::AspNetCore::Identity::EntityFrameworkCore::UserStore<TUser, TRole, TContext, TKey, Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityUserClaim<TKey> ^, Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityUserRole<TKey> ^, Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityUserLogin<TKey> ^, Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityUserToken<TKey> ^>
generic <typename TUser, typename TRole, typename TContext, typename TKey>
where TUser : IdentityUser<TKey> where TRole : IdentityRole<TKey> where TContext : DbContext where TKey : IEquatable<TKey>public ref class UserStore : Microsoft::AspNetCore::Identity::EntityFrameworkCore::UserStore<TUser, TRole, TContext, TKey, Microsoft::AspNetCore::Identity::IdentityUserClaim<TKey> ^, Microsoft::AspNetCore::Identity::IdentityUserRole<TKey> ^, Microsoft::AspNetCore::Identity::IdentityUserLogin<TKey> ^, Microsoft::AspNetCore::Identity::IdentityUserToken<TKey> ^, Microsoft::AspNetCore::Identity::IdentityRoleClaim<TKey> ^>
public class UserStore<TUser,TRole,TContext,TKey> : Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser,TRole,TContext,TKey,Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserClaim<TKey>,Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserRole<TKey>,Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserLogin<TKey>,Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserToken<TKey>> where TUser : IdentityUser<TKey> where TRole : IdentityRole<TKey> where TContext : DbContext where TKey : IEquatable<TKey>
public class UserStore<TUser,TRole,TContext,TKey> : Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser,TRole,TContext,TKey,Microsoft.AspNetCore.Identity.IdentityUserClaim<TKey>,Microsoft.AspNetCore.Identity.IdentityUserRole<TKey>,Microsoft.AspNetCore.Identity.IdentityUserLogin<TKey>,Microsoft.AspNetCore.Identity.IdentityUserToken<TKey>,Microsoft.AspNetCore.Identity.IdentityRoleClaim<TKey>> where TUser : IdentityUser<TKey> where TRole : IdentityRole<TKey> where TContext : DbContext where TKey : IEquatable<TKey>
type UserStore<'User, 'Role, 'Context, 'Key (requires 'User :> IdentityUser<'Key> and 'Role :> IdentityRole<'Key> and 'Context :> DbContext and 'Key :> IEquatable<'Key>)> = class
inherit UserStore<'User, 'Role, 'Context, 'Key, IdentityUserClaim<'Key>, IdentityUserRole<'Key>, IdentityUserLogin<'Key>, IdentityUserToken<'Key> (requires 'User :> IdentityUser<'Key> and 'Role :> IdentityRole<'Key> and 'Context :> DbContext and 'Key :> IEquatable<'Key>)>
type UserStore<'User, 'Role, 'Context, 'Key (requires 'User :> IdentityUser<'Key> and 'Role :> IdentityRole<'Key> and 'Context :> DbContext and 'Key :> IEquatable<'Key>)> = class
inherit UserStore<'User, 'Role, 'Context, 'Key, IdentityUserClaim<'Key>, IdentityUserRole<'Key>, IdentityUserLogin<'Key>, IdentityUserToken<'Key>, IdentityRoleClaim<'Key> (requires 'User :> IdentityUser<'Key> and 'Role :> IdentityRole<'Key> and 'Context :> DbContext and 'Key :> IEquatable<'Key>)>
Public Class UserStore(Of TUser, TRole, TContext, TKey)
Inherits UserStore(Of TUser, TRole, TContext, TKey, IdentityUserClaim(Of TKey), IdentityUserRole(Of TKey), IdentityUserLogin(Of TKey), IdentityUserToken(Of TKey))
Public Class UserStore(Of TUser, TRole, TContext, TKey)
Inherits UserStore(Of TUser, TRole, TContext, TKey, IdentityUserClaim(Of TKey), IdentityUserRole(Of TKey), IdentityUserLogin(Of TKey), IdentityUserToken(Of TKey), IdentityRoleClaim(Of TKey))
型パラメーター
- TUser
ユーザーを表す型。
- TRole
ロールを表す型。
- TContext
ストアへのアクセスに使用されるデータ コンテキスト クラスの型。
- TKey
ユーザーエンティティとロールエンティティの主キーの種類。
- 継承
-
UserStore<TUser,TRole,TContext,TKey,IdentityUserClaim<TKey>,IdentityUserRole<TKey>,IdentityUserLogin<TKey>,IdentityUserToken<TKey>>UserStore<TUser,TRole,TContext,TKey>
- 継承
-
UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim,IdentityUserPasskey<TKey>>UserStore<TUser,TRole,TContext,TKey,IdentityUserClaim<TKey>,IdentityUserRole<TKey>,IdentityUserLogin<TKey>,IdentityUserToken<TKey>,IdentityRoleClaim<TKey>>UserStore<TUser,TRole,TContext,TKey>
- 継承
-
UserStore<TUser,TRole,TContext,TKey,IdentityUserClaim<TKey>,IdentityUserRole<TKey>,IdentityUserLogin<TKey>,IdentityUserToken<TKey>,IdentityRoleClaim<TKey>>UserStore<TUser,TRole,TContext,TKey>
- 派生
コンストラクター
| 名前 | 説明 |
|---|---|
| UserStore<TUser,TRole,TContext,TKey>(TContext, IdentityErrorDescriber) |
UserStore<TUser,TRole,TContext,TKey>の新しいインスタンスを構築します。 |
プロパティ
| 名前 | 説明 |
|---|---|
| AutoSaveChanges |
CreateAsync、UpdateAsync、DeleteAsync の呼び出し後に変更を永続化するかどうかを示すフラグを取得または設定します。 (継承元 UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>) |
| Context |
このストアのデータベース コンテキストを取得します。 (継承元 UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>) |
| Users |
ストアに含まれるユーザーのナビゲーション プロパティ。 (継承元 UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>) |