UserRole

Inheritance hierarchy

Hierarchy type None
Is abstract False

Relationships

The UserRole entity is part of the following relationships

Related Entity Full description
Role UserRole.Role - Role.UserRole (m:1)
User UserRole.User - User.UserRole (m:1)

Fields

The following fields are defined in the UserRole entity

Name Type Is PK Is FK Optional Read-only Max. length Precision Scale
RoleId int (System.Int32) Yes Yes 0 0 0
UserId int (System.Int32) Yes Yes 0 0 0

Unique Constraints

None.

None.

Mappings

InheritanceOne.dbo.UserRole (SQL Server (SqlClient))

Aspect Value
Type of target Table
Actions allowed Create / Retrieve / Update / Delete
Entity Field Target field Nullable Type Length Precision Scale Sequence Type converter
RoleId RoleID int 0 10 0
UserId UserID int 0 10 0

Code generation information

Setting values

UserRole (Entity)

Setting name Value
Entity base class name CommonEntityBase

RoleId (NormalField)

Setting name Value
Generate as nullable type True
Field property is public True

UserId (NormalField)

Setting name Value
Generate as nullable type True
Field property is public True

Role (NavigatorSingleValue)

Setting name Value
Navigator property is public True

User (NavigatorSingleValue)

Setting name Value
Navigator property is public True

Attribute definitions per element

Role (NavigatorSingleValue)

  • Browsable($true)

User (NavigatorSingleValue)

  • Browsable($true)

Additional interface definitions per element

None.

Additional namespace definitions per element

None.