GermanFamilyCar
Inheritance hierarchy
Hierarchy type | Target per entity hierarchy |
Is abstract | False |
CompanyCar (Hierarchy root)
FamilyCar
GermanFamilyCar
Discriminator field: CarType
Entity | Discriminator value |
---|---|
CompanyCar | 1 |
SportsCar | 3 |
BritishSportsCar | 5 |
ItalianSportsCar | 4 |
FamilyCar | 2 |
GermanFamilyCar | 6 |
JapaneseFamilyCar | 7 |
Relationships
The GermanFamilyCar entity is part of the following relationships
Related Entity | Full description | Inherited from |
---|---|---|
BoardMember | BoardMember.CompanyCar - CompanyCar.BoardMember (m:1) | CompanyCar |
BoardMemberCore | BoardMemberCore.CompanyCar - CompanyCar.BoardMemberCore (m:1) | CompanyCar |
Fields
The following fields are defined in the GermanFamilyCar entity
Name | Type | Inherited from | Is PK | Is FK | Optional | Read-only | Max. length | Precision | Scale |
---|---|---|---|---|---|---|---|---|---|
Brand | string (System.String) |
CompanyCar | 50 | 0 | 0 | ||||
CarId | int (System.Int32) |
CompanyCar | Yes | 0 | 0 | 0 | |||
CarType | short (System.Int16) |
CompanyCar | Yes | 0 | 0 | 0 | |||
Price | decimal (System.Decimal) |
CompanyCar | 0 | 19 | 4 | ||||
HasDrawHook | bool (System.Boolean) |
FamilyCar | Yes | 0 | 0 | 0 |
Unique Constraints
None.
Fields mapped onto related fields
None.
Mappings
InheritanceOne.dbo.CompanyCar (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 |
---|---|---|---|---|---|
CarID | int | 0 | 10 | 0 | |
Brand | varchar | 50 | 0 | 0 | |
Price | money | 0 | 19 | 4 | |
HasDrawHook | Yes | bit | 0 | 0 | 0 |
IsCabrio | Yes | bit | 0 | 0 | 0 |
CarType | smallint | 0 | 5 | 0 |
Code generation information
Setting values
GermanFamilyCar (Entity)
Setting name | Value |
---|---|
Entity base class name | CommonEntityBase |
CarId (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.