...
Code Block | ||||
---|---|---|---|---|
| ||||
FUNCTION xpxGetEntityInSchema (schemaIdOrQuerySchemaId : GENERIC;
entityNameOrViewEntityName : STRING;
VAR entityIdOrViewEntityId : GENERIC)
status : INTEGER;
|
The xpxGetEntityInSchema function returns a numeric entityIdOrViewEntityId entityIdOrViewEntityId that uniquely identifies an entity or view entity definition instance in the EDMdatabase. An entity or entity or view entity name is unique within one dictionary model (Express schema). Hence the combination of <schemaId> and <entityName> or of <schemaId> and <entityName> or <schemaId> and <ViewentityName> identifies <ViewentityName> identifies one particular entity definition in the EDMdatabase. The actual dictionary model must be open before this function can be successfully performed.
If the specified <entityName> is the name of a legal complex entity that does not exist as an entity definition instance in the related dictionary model, an entity definition instance of the actual complex entity, will be created in the related dictionary model.
The returned entityIdOrViewEntityId entityIdOrViewEntityId can be used to identify the actual entity in subsequent EDMinterface operations. The returned entityIdOrViewEntityId entityIdOrViewEntityId will be a constant value throughout the lifetime of the actual entity definition instance in the EDMdatabase.
This function is equivalent to the EDMinterface function edmiGetEntityInSchema.
Arguments
...
Type | Name | Comment |
GENERIC | schemaIdOrQuerySchemaId | |
STRING | entityNameOrViewEntityName | comment |
GENERIC | entityIdOrViewEntityId | a numeric Id that uniquely identifies an entity or view entity definition instance in the EDMdatabase. |
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
<Missing Example> |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|
...