SqliteEntityTypeBuilderExtensions.ForSqliteToTable Method

Definition

Overloads

ForSqliteToTable(EntityTypeBuilder, String)

Configures the table that the entity maps to when targeting SQLite.

ForSqliteToTable<TEntity>(EntityTypeBuilder<TEntity>, String)

Configures the table that the entity maps to when targeting SQLite.

ForSqliteToTable(EntityTypeBuilder, String)

Configures the table that the entity maps to when targeting SQLite.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder ForSqliteToTable (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder builder, string name);
static member ForSqliteToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder
<Extension()>
Public Function ForSqliteToTable (builder As EntityTypeBuilder, name As String) As EntityTypeBuilder

Parameters

builder
EntityTypeBuilder

The builder for the entity type being configured.

name
String

The name of the table.

Returns

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

Applies to

ForSqliteToTable<TEntity>(EntityTypeBuilder<TEntity>, String)

Configures the table that the entity maps to when targeting SQLite.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> ForSqliteToTable<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> builder, string name) where TEntity : class;
static member ForSqliteToTable : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> (requires 'Entity : null)
<Extension()>
Public Function ForSqliteToTable(Of TEntity As Class) (builder As EntityTypeBuilder(Of TEntity), name As String) As EntityTypeBuilder(Of TEntity)

Type Parameters

TEntity

The entity type being configured.

Parameters

builder
EntityTypeBuilder<TEntity>

The builder for the entity type being configured.

name
String

The name of the table.

Returns

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

Applies to