Sub
Inheritance hierarchy
| Hierarchy type | Target per entity |
| Is abstract | False |
Super (Hierarchy root)
Sub
Relationships
None.
Fields
The following fields are defined in the Sub entity
| Name | Type | Inherited from | Is PK | Is FK | Optional | Read-only | Max. length | Precision | Scale |
|---|---|---|---|---|---|---|---|---|---|
| Id | guid (System.Guid) |
Super | Yes | 0 | 0 | 0 | |||
| Name | string (System.String) |
Super | 50 | 0 | 0 | ||||
| Age | int (System.Int32) |
0 | 0 | 0 |
Unique Constraints
None.
Fields mapped onto related fields
None.
Mappings
InheritanceOne.dbo.Sub (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 |
|---|---|---|---|---|---|---|---|---|
| Age | Age | int | 0 | 10 | 0 | |||
| Id | ID | uniqueidentifier | 0 | 0 | 0 |
Code generation information
Setting values
Sub (Entity)
| Setting name | Value |
|---|---|
| Entity base class name | CommonEntityBase |
Age (NormalField)
| Setting name | Value |
|---|---|
| Generate as nullable type | True |
| Field property is public | True |
| Field property has private setter | False |
Id (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.