CreateObjectResult CreateObject(OdId tParent, CreateObjectArg tArg)
tParent. Moniker of the parent object, within which the operation is executed.
tArg. Operation execution parameters.
The CreateObject operation creates a new repository object.
The moniker of the folder or one of the available repository container objects must be specified as the tParent parameter value. The following objects can be used as containers: MDM Repository, Time Series Database, Modeling Container, Assembly, and .NET Assembly.
Information about the created object is specified in the tArg parameter. This parameter may also contain parameters of updating the list of repository objects, that will be applied after the operation is executed.
The operation results in the moniker and description of the created object, and the updated list of repository objects, if corresponding operation execution parameters are specified.
Various methods of using this operation are given in the following examples:
Example name |
Creating an Object |
Creating an Object within the Specified Parent Object |
See also: