Every customer can have one or more orders associated with him, stored in separate documents in the same database.
每一个客户都可以拥有一个或者多个与其相关的订单,这些订单存储在同一数据库中的单独文档中。
In this simple example, the delete method of the customer class contains appropriate code to check if one or more orders for this customer still exist.
在这个简单的例子中,客户类的delete方法包含检查该客户的一个或多个订单是否依然存在的适当代码。
The retailer consults its warehouses, which in turn may (asynchronously) submit its own orders to one or more manufacturers.
零售商询问它的仓库,接着仓库可能(异步地)把它自己的定单提交给一个或多个制造商。
应用推荐