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