EmployeeTerritories

Inheritance hierarchy

Hierarchy type None
Is abstract False

Relationships

The EmployeeTerritories entity is part of the following relationships

Related Entity Full description
Employee EmployeeTerritories.Employees - Employee.EmployeeTerritories (m:1)
Territory EmployeeTerritories.Territories - Territory.EmployeeTerritories (m:1)

Fields

The following fields are defined in the EmployeeTerritories entity

Name Type Is PK Is FK Optional Read-only Max. length Precision Scale
EmployeeId int (System.Int32) Yes Yes 0 0 0
TerritoryId string (System.String) Yes Yes 20 0 0

Unique Constraints

None.

None.

Mappings

Northwind.dbo.EmployeeTerritories (SQL Server (SqlClient))

Aspect Value
Type of target Table
Actions allowed Retrieve
Entity Field Target field Nullable Type Length Precision Scale Sequence Type converter
EmployeeId EmployeeID int 0 10 0
TerritoryId TerritoryID nvarchar 20 0 0

Code generation information

Setting values

EmployeeTerritories (Entity)

Setting name Value
Entity base class name CommonEntityBase

EmployeeId (NormalField)

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

TerritoryId (NormalField)

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

Employees (NavigatorSingleValue)

Setting name Value
Navigator property is public True

Territories (NavigatorSingleValue)

Setting name Value
Navigator property is public True

Attribute definitions per element

TerritoryId (NormalField)

  • StringLength

Employees (NavigatorSingleValue)

  • Browsable($true)

Territories (NavigatorSingleValue)

  • Browsable($true)

Additional interface definitions per element

None.

Additional namespace definitions per element

None.