ItalianSportsCar
Inheritance hierarchy
Hierarchy type | Target per entity hierarchy |
Is abstract | False |
CompanyCar (Hierarchy root)
SportsCar
ItalianSportsCar
Discriminator field: CarType
Entity | Discriminator value |
---|---|
CompanyCar | 1 |
SportsCar | 3 |
BritishSportsCar | 5 |
ItalianSportsCar | 4 |
FamilyCar | 2 |
GermanFamilyCar | 6 |
JapaneseFamilyCar | 7 |
Relationships
The ItalianSportsCar 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 ItalianSportsCar 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 | ||||
IsCabrio | bool (System.Boolean) |
SportsCar | 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
ItalianSportsCar (Entity)
Setting name | Value |
---|---|
Entity base class name | CommonEntityBase |
CarId (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.