Click or drag to resize

MySQLValueGenerationStrategy Enumeration

Defines two strategies to use across the EF Core stack when generating key values from MySQL Server database columns.

Namespace:  MySql.Data.EntityFrameworkCore.Metadata
Assembly:  MySql.Data.EntityFrameworkCore (in MySql.Data.EntityFrameworkCore.dll) Version: 8.0.22
Syntax
public enum MySQLValueGenerationStrategy
Members
  Member nameValueDescription
None0 No specific MySQL Server strategy
IdentityColumn1 A pattern that uses a standard MySQL Server Identity column in the same way as EF6 and previous frameworks.
ComputedColumn2 Values of a generated column are computed from an expression included in the column definition.
See Also