DatabaseGeneratedOption DatabaseGeneratedOption DatabaseGeneratedOption DatabaseGeneratedOption Enum

定义

表示用于为数据库中的属性生成值的模式。Represents the pattern used to generate values for a property in the database.

public enum class DatabaseGeneratedOption
public enum DatabaseGeneratedOption
type DatabaseGeneratedOption = 
Public Enum DatabaseGeneratedOption
继承
DatabaseGeneratedOptionDatabaseGeneratedOptionDatabaseGeneratedOptionDatabaseGeneratedOption

字段

Computed Computed Computed Computed 2

在插入或更新一个行时,数据库会生成一个值。The database generates a value when a row is inserted or updated.

Identity Identity Identity Identity 1

在插入一个行时,数据库会生成一个值。The database generates a value when a row is inserted.

None None None None 0

数据库不生成值。The database does not generate values.

适用于