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 Next »


Description:
 
This function returns all the properties of the given EDMtableInstance. These properties are listed in the argument table below.
Related functions:
edmiCreateTableInstance, edmiDeleteTableInstance, edmiGetTableInstanceId, edmiIsTableInstance, edmiGetTableInstancesEntityExtent, edmiCreateTableInstanceColumn,
edmiDeleteTableInstanceColumn, edmiSetTableInstanceColumnsValue, edmiGetTableInstanceColumnsValue, edmiGetTableInstanceColumnNumber,
edmiInsertTableInstanceRows, edmiDeleteTableInstanceRows,  edmiSetTableInstanceProperty, edmiGetTableInstanceProperty
Header:
#include "sdai.h"
Prototype:
EdmiError edmiGetTableInstanceProperties  (SdaiInstance            tableInstanceId,
                                                                               SdaiString                *name,            
                                                                               SdaiInteger               *creationDate,     
                                                                               SdaiInteger               *lastUpdatedDate,
                                                                               SdaiOptions              *options,        
                                                                               SdaiInteger                *rows,             
                                                                               SdaiString                 *description,     
                                                                               SdaiInteger                *columns,         
                                                                               SdaiString                  **columnNames,     
                                                                               SdaiPrimitiveType     **columnDataTypes,
                                                                               SdaiInstance               **columnDomainIds);
Arguments:
 Argument typeArgument nameComments
SdaiInstance tableInstanceId
SdaiString *nameReturn argument if available
SdaiInteger *creationDateReturn argument if available
SdaiInteger *lastUpdatedDateReturn argument if available
SdaiOptions *optionsReturn argument if available
SdaiInteger *rowsReturn argument if available
SdaiString *descriptionReturn argument if available
SdaiInteger*columnsReturn argument if available. must be set for columnNames, columnDataTypes, columnDomainIds to be effective
SdaiString **columnNamesReturn argument if available, to be freed by caller
SdaiPrimitiveType **columnDataTypesReturn argument if available,to be freed by caller
SdaiInstance **columnDomainIdsReturn argument if available,to be freed by caller
 
 
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