可以使用动态关系来关联一组相关业务对象的主键,而使用静态关系来关联非主键属性。
You can use dynamic relationships to correlate primary keys from a set of related business objects and static relationships to correlate non-primary key properties.
动态关系通常用于关联一组相关业务对象中的主键,而静态关系通常用于关联一些非主键的属性。
Dynamic relationships are typically used to correlate primary keys from a set of related business objects, whereas static relationships are typically used to correlate non-primary key properties.
这用于设置记录的主键,该主键用作针对 Doctrine 的一个标记,表明正在处理的记录已经存在于数据库中。
This is used to set the record's primary key and it serves as a signal to Doctrine that the record being processed already exists in the database.
应用推荐