The [key] annotation specifies that a property is the entity's primary key, while [StringLength (512)] specifies the maximum length of a string property.
注解所指定的属性是实体的主键,[stringlength(512)]指定了字符串属性的最大长度值。
The [key] annotation specifies that a property is the entity's primary key, while [StringLength (512)] specifies the maximum length of a string property.
注解所指定的属性是实体的主键,[stringlength(512)]指定了字符串属性的最大长度值。
应用推荐