Typical database transaction when creating an object:; C9 S! b0 a. M+ C+ r# W1 ^
如何创建一个对象 5 ~5 Y) o+ C( H8 J% h' `1. FL_create 1 s, Y" V& w$ a8 @: ^4 U$ dCreate the object. b9 j" v, d" R3 ~8 `" e+ Q* y# Y
2. AOM_save% i' V' v, z0 \* [' t8 I
Save the record/object.) U: N( }0 J" f. {" `- r
3. AOM_unlock+ ~/ o) Z, A7 P. ?7 u, |! }4 i
Unlock the record/object. , t1 m5 _* h- C0 K V6 |Note) I0 k* _9 C; s' k( T( K: N
Other functions to create an object could be used in place of FL_create. " _% K8 D6 x# O: U& r1 e 5 T- a3 z/ [" m( v- g5 P: ~6 j" f& F. ~$ \2 m& ]
Typical database transaction when changing an object: ! Z2 Q/ Q/ B; \1 d如何编辑一个对象3 G1 p, M( @+ q- k' l
1. WSOM_find — Get (find/search/others) the record/object. 2 h# G& k' m; }: U2 v3 p9 C2. AOM_lock — Lock the record/object. ! d8 l1 R# P9 ]3. WSOM_set_name — Change attribute(s) of the record/object.* g4 E( C; H$ O
4. AOM_save — Save the record/object.8 M7 k d2 i- ?, k% ~; X- s
5. AOM_unlock — Unlock the record/object. 3 N- Z6 D! o" d' B8 `) K) s9 C# h$ h. q* |: A) H
+ ^2 @: |% w, [