Table of Contents

Class UserRoleSqlModel

Namespace
OpenSettings.Domains.Sql.Entities
Assembly
OpenSettings.dll

Represents a user role entity.

public class UserRoleSqlModel : EntityBase<Guid>
Inheritance
UserRoleSqlModel
Inherited Members

Properties

Name

The name of the user role.

public string Name { get; set; }

Property Value

string

NameLowercase

The lowercase version of the Name, typically used for case-insensitive comparisons.

public string NameLowercase { get; set; }

Property Value

string

Slug

An url friendly version of the Name, generated by trimming, converting to lowercase,
and replacing spaces or special characters with hyphens (using ToSlug(string) extension method).

public string Slug { get; set; }

Property Value

string

Tenant

public virtual TenantSqlModel Tenant { get; set; }

Property Value

TenantSqlModel

TenantId

public Guid? TenantId { get; set; }

Property Value

Guid?

UserRoleMappings

The collection of user-role mappings associated with this user role.

public virtual ICollection<UserRoleMappingSqlModel> UserRoleMappings { get; set; }

Property Value

ICollection<UserRoleMappingSqlModel>

UserRoleUserClaimMappings

The collection of user role-claim mappings associated with this user role.

public virtual ICollection<UserRoleUserClaimMappingSqlModel> UserRoleUserClaimMappings { get; set; }

Property Value

ICollection<UserRoleUserClaimMappingSqlModel>

UserRoleUserGroupMappings

The collection of role-group mappings associated with this user role.

public virtual ICollection<UserRoleUserGroupMappingSqlModel> UserRoleUserGroupMappings { get; set; }

Property Value

ICollection<UserRoleUserGroupMappingSqlModel>