Find : Locate an entity by its primary identifier.
find:通过实体的主标识符查找实体。
The arguments of a find operation, for example, are the type of entity and its primary identifier.
例如,find操作的参数是实体类型及其主标识符。
The master slice is used to generate the primary identifier for managed instances, whenever required.
这个主片被用来在任何需要的时候为管理实例生成主标识。
Instead, it requires the developer only to denote the attributes to be persisted and to identify the attribute to represent the object's unique identifier (or primary key).
相反,它只需要程序员将属性标记为持久性的,并识别出能代表对象唯一标识符(或者主键)的属性。
A numeric identifier for the partition (3, in this example; a value of 0 always refers to the primary partition).
分区的数字标识符(在本例中是3;0值总是指主分区)。
Entities that share some attributes, including an identifier (primary key), but not others may be modelled as having a common supertype.
一些实体具有某些共同的属性,比如标识符(主键),而其他属性不同,这些实体可能具有共同的超类型。
First, you usually want to have a (surrogate) object identifier that maps to the primary key of the corresponding database table.
首先,您通常要具有一个映射到对应数据库表主键的(代理)对象标识符。
If this identifier is used as a primary key, and then changes, we will have to change the logic in our RentalLocation object.
如果该标识符用作主键,又有变更,我们只好在RentalLocation对象里改变逻辑。
Then it updates the employee name in the employee table using the identifier field, which is the primary key for this table.
最后使用field字段(该表的主键)更新employee表中的雇员名称。
Then it updates the employee name in the employee table using the identifier field, which is the primary key for this table.
最后使用field字段(该表的主键)更新employee表中的雇员名称。
应用推荐