Clerk

Inheritance hierarchy

Hierarchy type Target per entity
Is abstract False

Employee (Hierarchy root)
   
Clerk

Relationships

The Clerk entity is part of the following relationships

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

Fields

The following fields are defined in the Clerk 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
JobDescription string (System.String) 50 0 0

Unique Constraints

None.

None.

Mappings

InheritanceOne.dbo.Clerk (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
JobDescription JobDescription varchar 50 0 0
Id ClerkID int 0 10 0

Code generation information

Setting values

Clerk (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

JobDescription (NormalField)

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

Attribute definitions per element

None.

Additional interface definitions per element

None.

Additional namespace definitions per element

None.