Manager

Inheritance hierarchy

Hierarchy type Target per entity
Is abstract False

Employee (Hierarchy root)
   
Manager

Relationships

The Manager entity is part of the following relationships

Related Entity Full description Inherited from
Department Employee.WorksForDepartment - Department.Employees (m:1) Employee
BoardMemberCore BoardMemberCore.Manager - Manager.BoardMemberCore (1:1)
Department Manager.ManagesDepartment - Department.Managers (m:1)

Fields

The following fields are defined in the Manager entity

Name Type Inherited from Is PK Is FK Optional Read-only Max. length Precision Scale
Id int (System.Int32) Employee Yes Yes 0 0 0
Name string (System.String) Employee 50 0 0
StartDate datetime (System.DateTime) Employee 0 0 0
WorksForDepartmentId int (System.Int32) Employee Yes Yes 0 0 0
ManagesDepartmentId int (System.Int32) Yes Yes 0 0 0

Unique Constraints

None.

None.

Mappings

InheritanceOne.dbo.Manager (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
ManagesDepartmentId ManagesDepartmentID Yes int 0 10 0
Id ManagerID int 0 10 0

Code generation information

Setting values

Manager (Entity)

Setting name Value
Entity base class name CommonEntityBase

Id (NormalField)

Setting name Value
Generate as nullable type True
Field property is public True
Field property has private setter False

ManagesDepartmentId (NormalField)

Setting name Value
Generate as nullable type True
Field property is public True
Field property has private setter False

BoardMemberCore (NavigatorSingleValue)

Setting name Value
Navigator property is public True

ManagesDepartment (NavigatorSingleValue)

Setting name Value
Navigator property is public True

Attribute definitions per element

BoardMemberCore (NavigatorSingleValue)

  • Browsable($true)

ManagesDepartment (NavigatorSingleValue)

  • Browsable($true)

Additional interface definitions per element

None.

Additional namespace definitions per element

None.