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方法包含检查该客户的一个或多个订单是否依然存在的适当代码。
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方法包含检查该客户的一个或多个订单是否依然存在的适当代码。
应用推荐