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).
相反,它只需要程序员将属性标记为持久性的,并识别出能代表对象唯一标识符(或者主键)的属性。
An entity's primary key is the attribute or set of attributes that distinguish one instance of the entity from another.
实体的主键是使该实体的一个实例区别于其他实例的一个或一组属性。
Updates the attributes of a specific book that is identified by its primary key.
更新一本特定的、由其主键标识的书籍的属性。
应用推荐