SqliteEntityTypeBuilderExtensions SqliteEntityTypeBuilderExtensions Class

Definition

SQLite specific extension methods for EntityTypeBuilder.

public static class SqliteEntityTypeBuilderExtensions
Public Module SqliteEntityTypeBuilderExtensions
Inheritance
System.ObjectSystem.Object
SqliteEntityTypeBuilderExtensionsSqliteEntityTypeBuilderExtensions

Inherited Members

System.Object

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

Methods

ForSqliteToTable(EntityTypeBuilder, String) ForSqliteToTable(EntityTypeBuilder, String)

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

public static EntityTypeBuilder ForSqliteToTable(this EntityTypeBuilder builder, string name)
<ExtensionAttribute>
Public Shared Function ForSqliteToTable(builder As EntityTypeBuilder, name As String) As EntityTypeBuilder
Parameters
builder
EntityTypeBuilder EntityTypeBuilder

The builder for the entity type being configured.

name
System.String System.String

The name of the table.

Returns

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

ForSqliteToTable(EntityTypeBuilder, String) ForSqliteToTable(Of TEntity)(EntityTypeBuilder(Of TEntity), String)

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

public static EntityTypeBuilder<TEntity> ForSqliteToTable<TEntity>(this EntityTypeBuilder<TEntity> builder, string name)where TEntity : class
<ExtensionAttribute>
Public Shared 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> EntityTypeBuilder(Of TEntity)

The builder for the entity type being configured.

name
System.String System.String

The name of the table.

Returns
EntityTypeBuilder<TEntity> EntityTypeBuilder(Of TEntity)

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