e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
21 lines
601 B
C#
21 lines
601 B
C#
namespace System.ComponentModel.DataAnnotations.Schema {
|
|
/// <summary>
|
|
/// The pattern used to generate values for a property in the database.
|
|
/// </summary>
|
|
public enum DatabaseGeneratedOption {
|
|
/// <summary>
|
|
/// The database does not generate values.
|
|
/// </summary>
|
|
None,
|
|
|
|
/// <summary>
|
|
/// The database generates a value when a row is inserted.
|
|
/// </summary>
|
|
Identity,
|
|
|
|
/// <summary>
|
|
/// The database generates a value when a row is inserted or updated.
|
|
/// </summary>
|
|
Computed
|
|
}
|
|
} |