SqlitePropertyBuilderExtensions Class
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.
SQLite-specific extension methods for PropertyBuilder.
public static class SqlitePropertyBuilderExtensions
[System.Runtime.CompilerServices.Nullable(0)]
public static class SqlitePropertyBuilderExtensions
type SqlitePropertyBuilderExtensions = class
[<System.Runtime.CompilerServices.Nullable(0)>]
type SqlitePropertyBuilderExtensions = class
Public Module SqlitePropertyBuilderExtensions
- Inheritance
-
SqlitePropertyBuilderExtensions
- Attributes
Remarks
See Modeling entity types and relationships, and Accessing SQLite databases with EF Core for more information and examples.
Methods
| Name | Description |
|---|---|
| CanSetGeometricDimension(IConventionPropertyBuilder, String, Boolean) |
Returns a value indicating whether the given value can be set as the dimension for the column. |
| CanSetSrid(IConventionPropertyBuilder, Nullable<Int32>, Boolean) |
Returns a value indicating whether the given value can be set as the SRID for the column. |
| CanSetValueGenerationStrategy(IConventionPropertyBuilder, Nullable<SqliteValueGenerationStrategy>, Boolean) |
Returns a value indicating whether the given value generation strategy can be set for the property. |
| ForSqliteHasColumnName(PropertyBuilder, String) |
Configures the column that the property maps to when targeting SQLite. |
| ForSqliteHasColumnName<TProperty>(PropertyBuilder<TProperty>, String) |
Configures the column that the property maps to when targeting SQLite. |
| ForSqliteHasColumnType(PropertyBuilder, String) |
Configures the data type of the column that the property maps to when targeting SQLite. |
| ForSqliteHasColumnType<TProperty>(PropertyBuilder<TProperty>, String) |
Configures the data type of the column that the property maps to when targeting SQLite. |
| ForSqliteHasDefaultValue(PropertyBuilder, Object) |
Configures the default value for the column that the property maps to when targeting SQLite. |
| ForSqliteHasDefaultValue<TProperty>(PropertyBuilder<TProperty>, Object) |
Configures the default value for the column that the property maps to when targeting SQLite. |
| ForSqliteHasDefaultValueSql(PropertyBuilder, String) |
Configures the default value expression for the column that the property maps to when targeting SQLite. |
| ForSqliteHasDefaultValueSql<TProperty>(PropertyBuilder<TProperty>, String) |
Configures the default value expression for the column that the property maps to when targeting SQLite. |
| ForSqliteHasDimension(IConventionPropertyBuilder, String, Boolean) |
Obsolete.
Configures the dimension of the column that the property maps to when targeting SQLite. |
| ForSqliteHasSrid(IConventionPropertyBuilder, Nullable<Int32>, Boolean) |
Obsolete.
Configures the SRID of the column that the property maps to when targeting SQLite. |
| ForSqliteHasSrid(PropertyBuilder, Int32) |
Obsolete.
Configures the SRID of the column that the property maps to when targeting SQLite. |
| ForSqliteHasSrid<TProperty>(PropertyBuilder<TProperty>, Int32) |
Obsolete.
Configures the SRID of the column that the property maps to when targeting SQLite. |
| HasGeometricDimension(IConventionPropertyBuilder, String, Boolean) |
Configures the dimension of the column that the property maps to when targeting SQLite. |
| HasSrid(IConventionPropertyBuilder, Nullable<Int32>, Boolean) |
Configures the SRID of the column that the property maps to when targeting SQLite. |
| HasSrid(PropertyBuilder, Int32) |
Configures the SRID of the column that the property maps to when targeting SQLite. |
| HasSrid<TProperty>(PropertyBuilder<TProperty>, Int32) |
Configures the SRID of the column that the property maps to when targeting SQLite. |
| HasValueGenerationStrategy(IConventionPropertyBuilder, Nullable<SqliteValueGenerationStrategy>, Boolean) |
Configures the value generation strategy for the property when targeting SQLite. |
| UseAutoincrement(ColumnBuilder) |
Configures the property to use SQLite AUTOINCREMENT feature to generate values for new entities, when targeting SQLite. This method sets the property to be OnAdd. |
| UseAutoincrement(PropertyBuilder) |
Configures the property to use SQLite AUTOINCREMENT feature to generate values for new entities, when targeting SQLite. This method sets the property to be OnAdd. |
| UseAutoincrement<TProperty>(PropertyBuilder<TProperty>) |
Configures the property to use SQLite AUTOINCREMENT feature to generate values for new entities, when targeting SQLite. This method sets the property to be OnAdd. |