User

Inheritance hierarchy

Hierarchy type None
Is abstract False

Relationships

The User entity is part of the following relationships

Related Entity Full description
Role Role.UserCollectionViaUserRole - User.RoleCollectionViaUserRole (m:n) (via UserRole)
UserRole UserRole.User - User.UserRole (m:1)

Fields

The following fields are defined in the User 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
UserId int (System.Int32) Yes Yes 0 0 0

Unique Constraints

None.

None.

Mappings

InheritanceOne.dbo.User (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
UserId UserID int 0 10 0 SCOPE_IDENTITY()

Code generation information

Setting values

User (Entity)

Setting name Value
Entity base class name CommonEntityBase

FirstName (NormalField)

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

LastName (NormalField)

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

UserId (NormalField)

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

RoleCollectionViaUserRole (NavigatorCollection)

Setting name Value
Navigator property is public True

UserRole (NavigatorCollection)

Setting name Value
Navigator property is public True

Attribute definitions per element

None.

Additional interface definitions per element

None.

Additional namespace definitions per element

None.