FolderFile

Inheritance hierarchy

Hierarchy type Target per entity hierarchy
Is abstract True

FolderFile (Hierarchy root)

Discriminator field: Discriminator

Entity Discriminator value
FolderFile 1
File 3
Archive 4
Folder 2

Relationships

None.

Fields

The following fields are defined in the FolderFile entity

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

Unique Constraints

None.

None.

Mappings

InheritanceOne.dbo.FolderFile (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
Discriminator Discriminator tinyint 0 3 0
Id ID int 0 10 0 SCOPE_IDENTITY()
Name Name varchar 50 0 0
Unmapped fields in target
Target field Nullable Type Length Precision Scale
ParentID Yes int 0 10 0
Filesize Yes int 0 10 0
PackType Yes varchar 10 0 0

Code generation information

Setting values

FolderFile (Entity)

Setting name Value
Entity base class name CommonEntityBase

Discriminator (NormalField)

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

Id (NormalField)

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

Name (NormalField)

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

Attribute definitions per element

None.

Additional interface definitions per element

None.

Additional namespace definitions per element

None.