The Operation element defines a SQL statement that executes a custom query or calls a stored procedure to create, retrieve, modify, or delete an attribute. It is a subelement of the IMSManagedObjectAttr element, as shown in the following example:
<ImsManagedObjectAttr physicalname="tblUsers.id" displayname="User Internal ID" description="User Internal ID" valuetype="Number" required="false" multivalued="false" maxlength="0" hidden="false" permission="READONLY"> <Operation name="GetDb" value="select @@identity" />
Operation element parameters are as follows:
Specifies a pre-defined name for an operation. The valid operations are as follows:
The GetDB operation retrieves a unique identifier from the database during a Create task, when the unique identifier is generated by the database or from a stored procedure.
Defines the SQL statement or stored procedure to execute. The valid values are as follows:
Note: The parameters are optional unless otherwise specified.
The Operation element can contain one or more Parameter elements.
Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |