As we saw above, deleting an object from the object model does not remove it from the database.
上面我们已经提到从对象模型中删除一个对象,并不会从数据库删除。
Deleting an object accidentally and then replacing it with a similar object will lead to unacceptable differences of the enterprise models.
意外地删除一个对象,然后用一个类似的对象替换它,将导致企业模型不可接受的差异。
Deleting an object from the database works along the same lines as retrieval and update: By default, when an object is deleted, none of the objects it references are deleted with it.
从数据库中删除对象与检索和更新对象类似:默认情况下,删除一个对象时,不删除它引用的对象。
Deleting an object from a collection is an update, too, of course.
当然,从集合中删除一个对象也是属于一种更新。
Deleting an object from a collection is an update, too, of course.
当然,从集合中删除一个对象也是属于一种更新。
应用推荐