SqliteEntityTypeBuilderExtensions.ForSqliteToTable Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor