SqliteValueGenerationStrategy Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines strategies to use across the EF Core stack when generating key values from SQLite database columns.
public enum SqliteValueGenerationStrategy
type SqliteValueGenerationStrategy =
Public Enum SqliteValueGenerationStrategy
- Inheritance
-
SqliteValueGenerationStrategy
Fields
| Name | Value | Description |
|---|---|---|
| None | 0 | No SQLite-specific strategy |
| Autoincrement | 1 | A pattern that uses SQLite's AUTOINCREMENT feature to generate values for new entities. |
Remarks
See Model building conventions, and Accessing SQLite databases with EF Core for more information and examples.