Archive

Inheritance hierarchy

Hierarchy type Target per entity hierarchy
Is abstract False

FolderFile (Hierarchy root)
   
File
   
Archive

Discriminator field: Discriminator

Entity Discriminator value
FolderFile 1
File 3
Archive 4
Folder 2

Relationships

The Archive entity is part of the following relationships

Related Entity Full description Inherited from
Folder File.ParentFolder - Folder.ContainedFiles (m:1) File

Fields

The following fields are defined in the Archive entity

Name Type Inherited from Is PK Is FK Optional Read-only Max. length Precision Scale
Discriminator byte (System.Byte) FolderFile Yes 0 0 0
Id int (System.Int32) FolderFile Yes Yes 0 0 0
Name string (System.String) FolderFile 50 0 0
Filesize int (System.Int32) File Yes 0 0 0
ParentId int (System.Int32) File Yes Yes 0 0 0
PackType string (System.String) Yes 10 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
PackType PackType Yes varchar 10 0 0
Unmapped fields in target
Target field Nullable Type Length Precision Scale
ID int 0 10 0
Name varchar 50 0 0
ParentID Yes int 0 10 0
Filesize Yes int 0 10 0
Discriminator tinyint 0 3 0

Code generation information

Setting values

Archive (Entity)

Setting name Value
Entity base class name CommonEntityBase

Id (NormalField)

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

PackType (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.