Marketing

Inheritance hierarchy

Hierarchy type Target per entity hierarchy
Is abstract False

Department (Hierarchy root)
   
Marketing

Discriminator field: DepartmentType

Entity Discriminator value
Department G
Board B
Marketing M

Relationships

The Marketing entity is part of the following relationships

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

Fields

The following fields are defined in the Marketing entity

Name Type Inherited from Is PK Is FK Optional Read-only Max. length Precision Scale
DepartmentId int (System.Int32) Department Yes Yes 0 0 0
DepartmentType string (System.String) Department Yes 10 0 0
Name string (System.String) Department 50 0 0
MeetingRoomCode string (System.String) Yes 10 0 0

Unique Constraints

None.

None.

Mappings

InheritanceOne.dbo.Department (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
MeetingRoomCode MeetingRoomCode Yes varchar 10 0 0
Unmapped fields in target
Target field Nullable Type Length Precision Scale
DepartmentID int 0 10 0
DepartmentType varchar 10 0 0
Name varchar 50 0 0

Code generation information

Setting values

Marketing (Entity)

Setting name Value
Entity base class name CommonEntityBase

DepartmentId (NormalField)

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

MeetingRoomCode (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.