CustomerCustomerDemo

Inheritance hierarchy

Hierarchy type None
Is abstract False

Relationships

The CustomerCustomerDemo entity is part of the following relationships

Related Entity Full description
Customer CustomerCustomerDemo.Customers - Customer.CustomerCustomerDemo (m:1)
CustomerDemographics CustomerCustomerDemo.CustomerDemographics - CustomerDemographics.CustomerCustomerDemo (m:1)

Fields

The following fields are defined in the CustomerCustomerDemo entity

Name Type Is PK Is FK Optional Read-only Max. length Precision Scale
CustomerId string (System.String) Yes Yes 5 0 0
CustomerTypeId string (System.String) Yes Yes 10 0 0

Unique Constraints

None.

None.

Mappings

Northwind.dbo.CustomerCustomerDemo (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
CustomerId CustomerID nchar 5 0 0
CustomerTypeId CustomerTypeID nchar 10 0 0

Code generation information

Setting values

CustomerCustomerDemo (Entity)

Setting name Value
Entity base class name CommonEntityBase

CustomerId (NormalField)

Setting name Value
Generate as nullable type True
Field property is public True
Field property has private setter False

CustomerTypeId (NormalField)

Setting name Value
Generate as nullable type True
Field property is public True
Field property has private setter False

CustomerDemographics (NavigatorSingleValue)

Setting name Value
Navigator property is public True

Customers (NavigatorSingleValue)

Setting name Value
Navigator property is public True

Attribute definitions per element

CustomerId (NormalField)

  • StringLength

CustomerTypeId (NormalField)

  • StringLength

CustomerDemographics (NavigatorSingleValue)

  • Browsable($true)

Customers (NavigatorSingleValue)

  • Browsable($true)

Additional interface definitions per element

None.

Additional namespace definitions per element

None.