Table of Contents

Class UserRoleGroupMappingModel

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

Represents a user role-group mapping entity.

[Table("UserRoleGroupMappings")]
public class UserRoleGroupMappingModel : EntityBase<int>
Inheritance
UserRoleGroupMappingModel
Inherited Members

Properties

CreatedBy

The user who created this user role-group mapping.

[ForeignKey("CreatedById")]
public virtual UserSqlModel CreatedBy { get; set; }

Property Value

UserSqlModel

CreatedById

The id of the user who created this user role-group.

public Guid? CreatedById { get; set; }

Property Value

Guid?

Group

The user group associated with this mapping.

public virtual UserGroupSqlModel Group { get; set; }

Property Value

UserGroupSqlModel

GroupId

The id of the associated user group.

public int GroupId { get; set; }

Property Value

int

Id

[NotMapped]
public int Id { get; set; }

Property Value

int

Role

The user role associated with this mapping.

public virtual UserRoleSqlModel Role { get; set; }

Property Value

UserRoleSqlModel

RoleId

The id of the associated user role.

public int RoleId { get; set; }

Property Value

int

UpdatedOn

[NotMapped]
public DateTime? UpdatedOn { get; set; }

Property Value

DateTime?