SqliteTableBuilderExtensions.UseSqlReturningClause Method

Definition

Overloads

UseSqlReturningClause(OwnedNavigationTableBuilder, Boolean)

Configures whether to use the SQL RETURNING clause when saving changes to the table. The RETURNING clause is incompatible with certain Sqlite features, such as virtual tables or tables with AFTER triggers.

UseSqlReturningClause(SplitTableBuilder, Boolean)

Configures whether to use the SQL RETURNING clause when saving changes to the table. The RETURNING clause is incompatible with certain Sqlite features, such as virtual tables or tables with AFTER triggers.

UseSqlReturningClause(TableBuilder, Boolean)

Configures whether to use the SQL RETURNING clause when saving changes to the table. The RETURNING clause is incompatible with certain Sqlite features, such as virtual tables or tables with AFTER triggers.

UseSqlReturningClause<TEntity>(SplitTableBuilder<TEntity>, Boolean)

Configures whether to use the SQL RETURNING clause when saving changes to the table. The RETURNING clause is incompatible with certain Sqlite features, such as virtual tables or tables with AFTER triggers.

UseSqlReturningClause<TEntity>(TableBuilder<TEntity>, Boolean)

Configures whether to use the SQL RETURNING clause when saving changes to the table. The RETURNING clause is incompatible with certain Sqlite features, such as virtual tables or tables with AFTER triggers.

UseSqlReturningClause<TOwnerEntity,TDependentEntity>(OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity>, Boolean)

Configures whether to use the SQL RETURNING clause when saving changes to the table. The RETURNING clause is incompatible with certain Sqlite features, such as virtual tables or tables with AFTER triggers.

UseSqlReturningClause(OwnedNavigationTableBuilder, Boolean)

Configures whether to use the SQL RETURNING clause when saving changes to the table. The RETURNING clause is incompatible with certain Sqlite features, such as virtual tables or tables with AFTER triggers.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder UseSqlReturningClause (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder tableBuilder, bool useSqlReturningClause = true);
static member UseSqlReturningClause : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder
<Extension()>
Public Function UseSqlReturningClause (tableBuilder As OwnedNavigationTableBuilder, Optional useSqlReturningClause As Boolean = true) As OwnedNavigationTableBuilder

Parameters

tableBuilder
OwnedNavigationTableBuilder

The builder for the table being configured.

useSqlReturningClause
Boolean

A value indicating whether to use the RETURNING clause when saving changes to the table.

Returns

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

Remarks

See Using the SQL RETURNING clause with Sqlite for more information and examples.

Applies to

UseSqlReturningClause(SplitTableBuilder, Boolean)

Configures whether to use the SQL RETURNING clause when saving changes to the table. The RETURNING clause is incompatible with certain Sqlite features, such as virtual tables or tables with AFTER triggers.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.SplitTableBuilder UseSqlReturningClause (this Microsoft.EntityFrameworkCore.Metadata.Builders.SplitTableBuilder tableBuilder, bool useSqlReturningClause = true);
static member UseSqlReturningClause : Microsoft.EntityFrameworkCore.Metadata.Builders.SplitTableBuilder * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.SplitTableBuilder
<Extension()>
Public Function UseSqlReturningClause (tableBuilder As SplitTableBuilder, Optional useSqlReturningClause As Boolean = true) As SplitTableBuilder

Parameters

tableBuilder
SplitTableBuilder

The builder for the table being configured.

useSqlReturningClause
Boolean

A value indicating whether to use the RETURNING clause when saving changes to the table.

Returns

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

Remarks

See Using the SQL RETURNING clause with Sqlite for more information and examples.

Applies to

UseSqlReturningClause(TableBuilder, Boolean)

Configures whether to use the SQL RETURNING clause when saving changes to the table. The RETURNING clause is incompatible with certain Sqlite features, such as virtual tables or tables with AFTER triggers.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder UseSqlReturningClause (this Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder tableBuilder, bool useSqlReturningClause = true);
static member UseSqlReturningClause : Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder
<Extension()>
Public Function UseSqlReturningClause (tableBuilder As TableBuilder, Optional useSqlReturningClause As Boolean = true) As TableBuilder

Parameters

tableBuilder
TableBuilder

The builder for the table being configured.

useSqlReturningClause
Boolean

A value indicating whether to use the RETURNING clause when saving changes to the table.

Returns

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

Remarks

See Using the SQL RETURNING clause with Sqlite for more information and examples.

Applies to

UseSqlReturningClause<TEntity>(SplitTableBuilder<TEntity>, Boolean)

Configures whether to use the SQL RETURNING clause when saving changes to the table. The RETURNING clause is incompatible with certain Sqlite features, such as virtual tables or tables with AFTER triggers.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.SplitTableBuilder<TEntity> UseSqlReturningClause<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.SplitTableBuilder<TEntity> tableBuilder, bool useSqlReturningClause = true) where TEntity : class;
static member UseSqlReturningClause : Microsoft.EntityFrameworkCore.Metadata.Builders.SplitTableBuilder<'Entity (requires 'Entity : null)> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.SplitTableBuilder<'Entity (requires 'Entity : null)> (requires 'Entity : null)
<Extension()>
Public Function UseSqlReturningClause(Of TEntity As Class) (tableBuilder As SplitTableBuilder(Of TEntity), Optional useSqlReturningClause As Boolean = true) As SplitTableBuilder(Of TEntity)

Type Parameters

TEntity

The entity type being configured.

Parameters

tableBuilder
SplitTableBuilder<TEntity>

The builder for the table being configured.

useSqlReturningClause
Boolean

A value indicating whether to use the RETURNING clause when saving changes to the table.

Returns

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

Remarks

See Using the SQL RETURNING clause with Sqlite for more information and examples.

Applies to

UseSqlReturningClause<TEntity>(TableBuilder<TEntity>, Boolean)

Configures whether to use the SQL RETURNING clause when saving changes to the table. The RETURNING clause is incompatible with certain Sqlite features, such as virtual tables or tables with AFTER triggers.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder<TEntity> UseSqlReturningClause<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder<TEntity> tableBuilder, bool useSqlReturningClause = true) where TEntity : class;
static member UseSqlReturningClause : Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder<'Entity (requires 'Entity : null)> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder<'Entity (requires 'Entity : null)> (requires 'Entity : null)
<Extension()>
Public Function UseSqlReturningClause(Of TEntity As Class) (tableBuilder As TableBuilder(Of TEntity), Optional useSqlReturningClause As Boolean = true) As TableBuilder(Of TEntity)

Type Parameters

TEntity

The entity type being configured.

Parameters

tableBuilder
TableBuilder<TEntity>

The builder for the table being configured.

useSqlReturningClause
Boolean

A value indicating whether to use the RETURNING clause when saving changes to the table.

Returns

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

Remarks

See Using the SQL RETURNING clause with Sqlite for more information and examples.

Applies to

UseSqlReturningClause<TOwnerEntity,TDependentEntity>(OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity>, Boolean)

Configures whether to use the SQL RETURNING clause when saving changes to the table. The RETURNING clause is incompatible with certain Sqlite features, such as virtual tables or tables with AFTER triggers.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity> UseSqlReturningClause<TOwnerEntity,TDependentEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity> tableBuilder, bool useSqlReturningClause = true) where TOwnerEntity : class where TDependentEntity : class;
static member UseSqlReturningClause : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> (requires 'OwnerEntity : null and 'DependentEntity : null)
<Extension()>
Public Function UseSqlReturningClause(Of TOwnerEntity As Class, TDependentEntity As Class) (tableBuilder As OwnedNavigationTableBuilder(Of TOwnerEntity, TDependentEntity), Optional useSqlReturningClause As Boolean = true) As OwnedNavigationTableBuilder(Of TOwnerEntity, TDependentEntity)

Type Parameters

TOwnerEntity

The entity type owning the relationship.

TDependentEntity

The dependent entity type of the relationship.

Parameters

tableBuilder
OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity>

The builder for the table being configured.

useSqlReturningClause
Boolean

A value indicating whether to use the RETURNING clause when saving changes to the table.

Returns

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

Remarks

See Using the SQL RETURNING clause with Sqlite for more information and examples.

Applies to