Examples of using Dataclass in English and their translations into German
{-}
-
Colloquial
-
Official
-
Ecclesiastic
-
Medicine
-
Financial
-
Ecclesiastic
-
Political
-
Computer
-
Programming
-
Official/political
-
Political
Entity New entity matching the dataClass.
A dataclass can have recursive relation attributes.
An entity contains the same attributes as the dataclass.
Dataclass attributes Dataclass attributes are available as properties of their respective classes.
For example, the query() method is a dataclass member function.
Date directly refers to the corresponding attributes in the ds. Event dataclass.
The dataclass offers an abstraction of the physical database and allows handling a conceptual data model.
You can also create an entity using the dataClass. new() method.
An entity in the"Company" dataclass contains an object of type EntitySelection in the"staff" attribute or a null value.
This code assigns to compClass a reference to the Company dataclass.
Example  This example creates a new entity in the"Log" dataClass and records information in the info attribute.
All 4D commands and methods that execute queries on object properties, such as dataClass.
In the Project dataclass: theClient attribute, of the"relatedEntity" kind; there is at most one Company for each Project the client.
If a property of the object does not exist in the dataclass, it is ignored.
  For more information about dataclass attributes, please refer to the Dataclass attributes paragraph in the 4D Developer's Guide.
The[Company] table is automatically available as a dataclass in the ds datastore.
Entity selection: an entity selection references one or more entities from a dataclass.
An entity can be seen as an instance of the dataclass, like a record of the table matching the dataclass in its associated datastore.
Save() method saves the changes made to the entity in the table related to its dataClass.
For example, we want to create a new entity in the"Employee" dataclass in the current datastore with"John" and"Dupont" assigned to the firstname and name attributes.
To assign a value directly to the"employer" attribute,you must pass an existing entity from the"Company" dataclass.
You can assign or modify the value of a"1" related entity attribute from the"N" dataclass directly through the related attribute.
FromCollection() method updates or creates entities in the dataclass according to the objectCol collection of objects, and returns the corresponding entity selection.
Entities Entities An entity is an object that can be seen as an instance of a dataclass, like a record of the table matching the dataclass in its associated datastore.