Table of Contents

Interface IIdentityUserRole<TKey>

Namespace
LinqToDB.Identity
Assembly
LinqToDB.Identity.dll

Represents the link between a user and a role.

public interface IIdentityUserRole<TKey> where TKey : IEquatable<TKey>

Type Parameters

TKey

The type of the primary key used for users and roles.

Properties

RoleId

Gets or sets the primary key of the role that is linked to the user.

TKey RoleId { get; set; }

Property Value

TKey

UserId

Gets or sets the primary key of the user that is linked to a role.

TKey UserId { get; set; }

Property Value

TKey