EmployeeRole
Inheritance hierarchy
Hierarchy type |
Target per entity hierarchy |
Is abstract |
False |
Role (Hierarchy root)
EmployeeRole
Discriminator field: RoleName
Relationships
The EmployeeRole 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 |
EmployeeRoleBenefits |
EmployeeRole.EmployeeRoleBenefits - EmployeeRoleBenefits.EmployeeRole (1:n) |
|
Fields
The following fields are defined in the EmployeeRole 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
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 |
Setting values
EmployeeRole (Entity)
Setting name |
Value |
Entity base class name |
CommonEntityBase |
RoleId (NormalField)
Setting name |
Value |
Generate as nullable type |
True |
Field property is public |
True |
EmployeeRoleBenefits (NavigatorCollection)
Setting name |
Value |
Navigator property is public |
True |
Attribute definitions per element
None.
Additional interface definitions per element
None.
Additional namespace definitions per element
None.