This repository was archived by the owner on Feb 2, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
CompanyAddress
Michał B edited this page Apr 4, 2018
·
4 revisions
- This class describes address of a company dealing in tuning, maintenance or restoration of cars.
- This class is responsible for modeling the table representation in the database.
- This class contains methods responsible for acting on it.
- This class inherits from the Entity class.
| Name | Type | Access | Description |
|---|---|---|---|
| Country | string | public | The name of the country in which the company is located. |
| State | string | public | The name of the state / voivodeship in which the company is located. |
| Town | string | public | The name of the town in which the company is located. |
| Street | string | public | The name of the street where the company is located. |
| BuildingNumber | int | public | The number of the building located at the indicated street. |
| FlatNumber | int | public | The number of the flat in the indicated building. |
| ZipCode | string | public | Zip code of the city in which the company is located. |
| CompanyId | int | public | Company ID for 'one to one' relationship in Entity Framework Core. |
| Company | Company | public | Virtual company variable for 'one to one' relationship in Entity Framework Core. |
| Name | Type | Access | Description |
|---|---|---|---|
| CompanyAddress | - | public | Constructor initializing all object fields, including those related to Entity Framework Core. |