admin 发表于 2015-1-19 16:19:36

teamcenter二次开发和数据库交互的基本原则

Typical database transaction when creating an object:
如何创建一个对象
1. FL_create
Create the object.
2. AOM_save
Save the record/object.
3. AOM_unlock
Unlock the record/object.
Note
Other functions to create an object could be used in place of FL_create.


Typical database transaction when changing an object:
如何编辑一个对象
1. WSOM_find — Get (find/search/others) the record/object.
2. AOM_lock — Lock the record/object.
3. WSOM_set_name — Change attribute(s) of the record/object.
4. AOM_save — Save the record/object.
5. AOM_unlock — Unlock the record/object.


页: [1]
查看完整版本: teamcenter二次开发和数据库交互的基本原则