Listing 10 shows one approach, which is to bind the "Delete" trigger to a node in the data model, and then to make that node non-relevant when the count of nodes in the set reaches 1.
清单10给出了一种方法,那就是将“删除”触发器绑定到数据模型中的节点上,然后在节点集中的节点数达到1时使该节点变为不相关。
Listing 10 shows one approach, which is to bind the "Delete" trigger to a node in the data model, and then to make that node non-relevant when the count of nodes in the set reaches 1.
清单10给出了一种方法,那就是将“删除”触发器绑定到数据模型中的节点上,然后在节点集中的节点数达到1时使该节点变为不相关。
应用推荐