Region

Inheritance hierarchy

Hierarchy type None
Is abstract False

Relationships

The Region entity is part of the following relationships

Related Entity Full description
Employee Employee.Region_ - Region.Employee (m:1)
Employee Region.Employee_ - Employee.Region__ (m:n) (via Employee)
Territory Territory.Region - Region.Territories (m:1)

Fields

The following fields are defined in the Region entity

Name Type Is PK Is FK Optional Read-only Max. length Precision Scale
RegionDescription string (System.String) 50 0 0
RegionId int (System.Int32) Yes 0 0 0

Unique Constraints

None.

None.

Mappings

Northwind.dbo.Region (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
RegionDescription RegionDescription nchar 50 0 0
RegionId RegionID int 0 10 0

Code generation information

Setting values

Region (Entity)

Setting name Value
Entity base class name CommonEntityBase

RegionDescription (NormalField)

Setting name Value
Generate as nullable type True
Field property is public True

RegionId (NormalField)

Setting name Value
Generate as nullable type True
Field property is public True

Employee (NavigatorCollection)

Setting name Value
Navigator property is public True

Employee_ (NavigatorCollection)

Setting name Value
Navigator property is public True

Territories (NavigatorCollection)

Setting name Value
Navigator property is public True

Attribute definitions per element

RegionDescription (NormalField)

  • StringLength

Additional interface definitions per element

None.

Additional namespace definitions per element

None.