Typical database transaction when creating an object: ~ T4 b4 S A- e5 ? @
如何创建一个对象 7 i8 F- t% l! ~$ }& N1. FL_create) U3 ?/ N* g# g3 N) }
Create the object. 2 U- c% h& y$ u1 q3 j2. AOM_save9 I2 U7 T j$ a# i
Save the record/object. 6 B8 f* h8 ?! x3. AOM_unlock, f9 j+ E6 t w( M" _& \$ w* [
Unlock the record/object. - t* v% C& g' ]1 S& B4 \Note8 \' n4 L P# X. G3 u i5 {
Other functions to create an object could be used in place of FL_create.' t( t% u3 ^6 ~/ l
4 j$ d+ v# Q9 L" p K3 w4 i& c4 S' K; b, ?; S' J9 X
Typical database transaction when changing an object:) d# A0 h% J( Y, y
如何编辑一个对象0 m+ P) `/ u: t h* K1 N
1. WSOM_find — Get (find/search/others) the record/object.% Z* u7 @* ?+ e8 h
2. AOM_lock — Lock the record/object.5 y( ?# V% T' C" h. e3 k
3. WSOM_set_name — Change attribute(s) of the record/object.. ]/ W# N1 u" s/ r8 G; e0 v4 s
4. AOM_save — Save the record/object. S/ e; a$ n% z9 }7 ?% V1 W& ~
5. AOM_unlock — Unlock the record/object.. t5 W; |+ P8 e! W
5 }! M# U( Y' n7 U ! C k; k2 h* a- Z9 M/ i( C1 l( p