SqlitePropertyBuilderExtensions SqlitePropertyBuilderExtensions Class

SQLite specific extension methods for PropertyBuilder.

Syntax

Declaration

public static class SqlitePropertyBuilderExtensionsPublic Module SqlitePropertyBuilderExtensions

Inheritance Hierarchy

  • System.Object
    System.Object
  • SqlitePropertyBuilderExtensions
    SqlitePropertyBuilderExtensions

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Methods summary

Configures the column that the property maps to when targeting SQLite.

Configures the column that the property maps to when targeting SQLite.

Configures the data type of the column that the property maps to when targeting SQLite.

Configures the data type of the column that the property maps to when targeting SQLite.

Configures the default value for the column that the property maps to when targeting SQLite.

Configures the default value for the column that the property maps to when targeting SQLite.

Configures the default value expression for the column that the property maps to when targeting SQLite.

Configures the default value expression for the column that the property maps to when targeting SQLite.

Methods

  • ForSqliteHasColumnName(PropertyBuilder, String)
    ForSqliteHasColumnName(PropertyBuilder, String)

    Configures the column that the property maps to when targeting SQLite.

    public static PropertyBuilder ForSqliteHasColumnName(this PropertyBuilder propertyBuilder, string name)<ExtensionAttribute>
    Public Shared Function ForSqliteHasColumnName(propertyBuilder As PropertyBuilder, name As String) As PropertyBuilder

    Parameters

    • propertyBuilder

      The builder for the property being configured.

    • name
      System.String
      System.String

      The name of the column.

    Returns

  • ForSqliteHasColumnName<TProperty>(PropertyBuilder<TProperty>, String)
    ForSqliteHasColumnName(Of TProperty)(PropertyBuilder(Of TProperty), String)

    Configures the column that the property maps to when targeting SQLite.

    public static PropertyBuilder<TProperty> ForSqliteHasColumnName<TProperty>(this PropertyBuilder<TProperty> propertyBuilder, string name)<ExtensionAttribute>
    Public Shared Function ForSqliteHasColumnName(Of TProperty)(propertyBuilder As PropertyBuilder(Of TProperty), name As String) As PropertyBuilder(Of TProperty)

    Parameters

    Returns

  • ForSqliteHasColumnType(PropertyBuilder, String)
    ForSqliteHasColumnType(PropertyBuilder, String)

    Configures the data type of the column that the property maps to when targeting SQLite.

    public static PropertyBuilder ForSqliteHasColumnType(this PropertyBuilder propertyBuilder, string type)<ExtensionAttribute>
    Public Shared Function ForSqliteHasColumnType(propertyBuilder As PropertyBuilder, type As String) As PropertyBuilder

    Parameters

    • propertyBuilder

      The builder for the property being configured.

    • type
      System.String
      System.String

      The name of the data type of the column.

    Returns

  • ForSqliteHasColumnType<TProperty>(PropertyBuilder<TProperty>, String)
    ForSqliteHasColumnType(Of TProperty)(PropertyBuilder(Of TProperty), String)

    Configures the data type of the column that the property maps to when targeting SQLite.

    public static PropertyBuilder<TProperty> ForSqliteHasColumnType<TProperty>(this PropertyBuilder<TProperty> propertyBuilder, string type)<ExtensionAttribute>
    Public Shared Function ForSqliteHasColumnType(Of TProperty)(propertyBuilder As PropertyBuilder(Of TProperty), type As String) As PropertyBuilder(Of TProperty)

    Parameters

    Returns

  • ForSqliteHasDefaultValue(PropertyBuilder, Object)
    ForSqliteHasDefaultValue(PropertyBuilder, Object)

    Configures the default value for the column that the property maps to when targeting SQLite.

    public static PropertyBuilder ForSqliteHasDefaultValue(this PropertyBuilder propertyBuilder, object value)<ExtensionAttribute>
    Public Shared Function ForSqliteHasDefaultValue(propertyBuilder As PropertyBuilder, value As Object) As PropertyBuilder

    Parameters

    • propertyBuilder

      The builder for the property being configured.

    • value
      System.Object
      System.Object

      The default value of the column.

    Returns

  • ForSqliteHasDefaultValue<TProperty>(PropertyBuilder<TProperty>, Object)
    ForSqliteHasDefaultValue(Of TProperty)(PropertyBuilder(Of TProperty), Object)

    Configures the default value for the column that the property maps to when targeting SQLite.

    public static PropertyBuilder<TProperty> ForSqliteHasDefaultValue<TProperty>(this PropertyBuilder<TProperty> propertyBuilder, object value)<ExtensionAttribute>
    Public Shared Function ForSqliteHasDefaultValue(Of TProperty)(propertyBuilder As PropertyBuilder(Of TProperty), value As Object) As PropertyBuilder(Of TProperty)

    Parameters

    Returns

  • ForSqliteHasDefaultValueSql(PropertyBuilder, String)
    ForSqliteHasDefaultValueSql(PropertyBuilder, String)

    Configures the default value expression for the column that the property maps to when targeting SQLite.

    public static PropertyBuilder ForSqliteHasDefaultValueSql(this PropertyBuilder propertyBuilder, string sql)<ExtensionAttribute>
    Public Shared Function ForSqliteHasDefaultValueSql(propertyBuilder As PropertyBuilder, sql As String) As PropertyBuilder

    Parameters

    • propertyBuilder

      The builder for the property being configured.

    • sql
      System.String
      System.String

      The SQL expression for the default value of the column.

    Returns

  • ForSqliteHasDefaultValueSql<TProperty>(PropertyBuilder<TProperty>, String)
    ForSqliteHasDefaultValueSql(Of TProperty)(PropertyBuilder(Of TProperty), String)

    Configures the default value expression for the column that the property maps to when targeting SQLite.

    public static PropertyBuilder<TProperty> ForSqliteHasDefaultValueSql<TProperty>(this PropertyBuilder<TProperty> propertyBuilder, string sql)<ExtensionAttribute>
    Public Shared Function ForSqliteHasDefaultValueSql(Of TProperty)(propertyBuilder As PropertyBuilder(Of TProperty), sql As String) As PropertyBuilder(Of TProperty)

    Parameters

    Returns

Details

Assembly

Microsoft.EntityFrameworkCore.Sqlite.dll