1

What is the meaning of "id=name" in the definition of the User entity? Any resources about the persist field attributes?

User name Text Asc id=name

4

1 回答 1

0

id=... 属性设置表主键的列名。

例如:

Product id=product_id
    name Text
    quantityInStock Int

...将创建一个名为“product_id”的具有整数主键的表

于 2013-02-07T18:54:50.143 回答