SqlitePropertyBuilderExtensions.ForSqliteHasColumnType Method

Definition

Overloads

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.

ForSqliteHasColumnType(PropertyBuilder, String)

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

public static Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder ForSqliteHasColumnType (this Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder propertyBuilder, string type);
static member ForSqliteHasColumnType : Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder
<Extension()>
Public Function ForSqliteHasColumnType (propertyBuilder As PropertyBuilder, type As String) As PropertyBuilder

Parameters

propertyBuilder
PropertyBuilder

The builder for the property being configured.

type
String

The name of the data type of the column.

Returns

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

Applies to

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

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

public static Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> ForSqliteHasColumnType<TProperty> (this Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> propertyBuilder, string type);
static member ForSqliteHasColumnType : Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property> * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property>
<Extension()>
Public 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>

The builder for the property being configured.

type
String

The name of the data type of the column.

Returns

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

Applies to