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
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: