Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »


 
Returns the required primitive type of the data values to be assigned to a specified attribute.
Related function: edmiRemoteGetAttrPrimitiveType
Header:
#include "sdai.h"
Prototype:
EdmiError edmiRemoteGetAttrPrimitiveTypeBN(SdaiServerContext serverContextId,
                                            SdaiString        schemaName,
                                            SdaiString        entityName,
                                            SdaiString        attributeName,
                                            SdaiPrimitiveType *dataType,
                                            SdaiInvocationId  *edmiInvocationId);
 
Arguments:

serverContextId

Context identification, from edmiDefineServerContext

schemaName

The name of an Express Schema that defines the attribute of interrest. This Express Schema must exist as a dictionary model in the remote _EDMdatabase{_}. Schema names are case insensitive.

entityName

The name of the entity that defines the attribute of interrest. This entity must be defined by the EXPRESS Schema specified by the <schemaName> argument. Entity names are case insensitive.

attributeName

The name of the attribute of interrest. Attribute names are case insensitive.

dataType

A variable that will receive the required primitive type of the data values that may be assigned to the attribute.

edmiInvocationId

Currently not used.

Returns:
A completion code of datatype EdmiError is the returned function value. The completion code has the following values:
Completion code = 0 : Operation successfully performed.
Completion code != 0: Error in operation. Completion code is an _EDMinterface_ error code. Use edmiGetErrorText to get the error text corresponding to the error code.
Example:

  • No labels