SqlitePropertyBuilderExtensions SqlitePropertyBuilderExtensions Class

Definition

SQLite specific extension methods for PropertyBuilder.

public static class SqlitePropertyBuilderExtensions
Public Module SqlitePropertyBuilderExtensions
Inheritance
System.ObjectSystem.Object
SqlitePropertyBuilderExtensionsSqlitePropertyBuilderExtensions

Methods

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

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
PropertyBuilder PropertyBuilder

The builder for the property being configured.

name
System.String System.String

The name of the column.

Returns

The same builder instance so that multiple calls can be chained.

ForSqliteHasColumnName(PropertyBuilder, 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)
Type Parameters
TProperty

The type of the property being configured.

Parameters
propertyBuilder
PropertyBuilder<TProperty> PropertyBuilder(Of TProperty)

The builder for the property being configured.

name
System.String System.String

The name of the column.

Returns
PropertyBuilder<TProperty> PropertyBuilder(Of TProperty)

The same builder instance so that multiple calls can be chained.

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
PropertyBuilder PropertyBuilder

The builder for the property being configured.

type
System.String System.String

The name of the data type of the column.

Returns

The same builder instance so that multiple calls can be chained.

ForSqliteHasColumnType(PropertyBuilder, 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)
Type Parameters
TProperty

The type of the property being configured.

Parameters
propertyBuilder
PropertyBuilder<TProperty> PropertyBuilder(Of TProperty)

The builder for the property being configured.

type
System.String System.String

The name of the data type of the column.

Returns
PropertyBuilder<TProperty> PropertyBuilder(Of TProperty)

The same builder instance so that multiple calls can be chained.

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
PropertyBuilder PropertyBuilder

The builder for the property being configured.

value
System.Object System.Object

The default value of the column.

Returns

The same builder instance so that multiple calls can be chained.

ForSqliteHasDefaultValue(PropertyBuilder, 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)
Type Parameters
TProperty

The type of the property being configured.

Parameters
propertyBuilder
PropertyBuilder<TProperty> PropertyBuilder(Of TProperty)

The builder for the property being configured.

value
System.Object System.Object

The default value of the column.

Returns
PropertyBuilder<TProperty> PropertyBuilder(Of TProperty)

The same builder instance so that multiple calls can be chained.

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
PropertyBuilder PropertyBuilder

The builder for the property being configured.

sql
System.String System.String

The SQL expression for the default value of the column.

Returns

The same builder instance so that multiple calls can be chained.

ForSqliteHasDefaultValueSql(PropertyBuilder, 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)
Type Parameters
TProperty

The type of the property being configured.

Parameters
propertyBuilder
PropertyBuilder<TProperty> PropertyBuilder(Of TProperty)

The builder for the property being configured.

sql
System.String System.String

The SQL expression for the default value of the column.

Returns
PropertyBuilder<TProperty> PropertyBuilder(Of TProperty)

The same builder instance so that multiple calls can be chained.

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object