ManagerRole

Inheritance hierarchy

Hierarchy type Target per entity hierarchy
Is abstract False

Role (Hierarchy root)
   
ManagerRole

Discriminator field: RoleName

Entity Discriminator value
Role Generic
EmployeeRole Employee
ManagerRole Manager

Relationships

The ManagerRole entity is part of the following relationships

Related Entity Full description Inherited from
User Role.UserCollectionViaUserRole - User.RoleCollectionViaUserRole (m:n) (via UserRole) Role
UserRole UserRole.Role - Role.UserRole (m:1) Role

Fields

The following fields are defined in the ManagerRole entity

Name Type Inherited from Is PK Is FK Optional Read-only Max. length Precision Scale
RoleId int (System.Int32) Role Yes Yes 0 0 0
RoleName string (System.String) Role Yes 50 0 0

Unique Constraints

None.

None.

Mappings

InheritanceOne.dbo.Role (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
Unmapped fields in target
Target field Nullable Type Length Precision Scale
RoleID int 0 10 0
RoleName varchar 50 0 0

Code generation information

Setting values

ManagerRole (Entity)

Setting name Value
Entity base class name CommonEntityBase

RoleId (NormalField)

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

Attribute definitions per element

None.

Additional interface definitions per element

None.

Additional namespace definitions per element

None.