Datastore Entities

Topic updated 15-5-2007

A Datastore can contain the following entity types:

 

icon_Table

Table

Contains metadata about a database table.

icon_View

View

Contains metadata about a database view.

icon_CustomView

Custom View

The equivalent of a database view, but defined in the Database Repository and implemented on the application-side with generated  source code.

 

Every Table, View and Custom View has a designer that can be opened from the Project Explorer by double clicking its node, or by right-clicking it and selecting the Edit option from its context menu.

 

Datastore Entities are built up from the following types of database objects:

icon_Column

Column

Ordinary database columns.

icon_CalculatedColumn

Calculated Column

Columns based on SQL expression that can be added to Tables and Views, but not to Custom Views.

icon_Key/icon_PrimaryKey

Key

Key objects contain metadata about all types of database keys and indexes.

icon_One-to-many_Relation/icon_Many-to-one_Relation

Relation

Contains metadata about relations defined in the database for maintaining referential integrity. Relations play an essential role in generated object relations in BO-Layer projects.

 

Columns, Calculated Columns, Keys and Relations are displayed in the Project Explorer when the node of the Table, View or Custom View that they belong to is expanded. Each of these database objects has its dedicated designer in the Database Repository.