Share via


SqlServerTableBuilderExtensions.UseSqlOutputClause Method

Definition

Overloads

UseSqlOutputClause(OwnedNavigationTableBuilder, Boolean)

Configures whether to use the SQL OUTPUT clause when saving changes to the table. The OUTPUT clause is incompatible with certain SQL Server features, such as tables with triggers.

UseSqlOutputClause(SplitTableBuilder, Boolean)

Configures whether to use the SQL OUTPUT clause when saving changes to the table. The OUTPUT clause is incompatible with certain SQL Server features, such as tables with triggers.

UseSqlOutputClause(TableBuilder, Boolean)

Configures whether to use the SQL OUTPUT clause when saving changes to the table. The OUTPUT clause is incompatible with certain SQL Server features, such as tables with triggers.

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

Configures whether to use the SQL OUTPUT clause when saving changes to the table. The OUTPUT clause is incompatible with certain SQL Server features, such as tables with triggers.

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

Configures whether to use the SQL OUTPUT clause when saving changes to the table. The OUTPUT clause is incompatible with certain SQL Server features, such as tables with triggers.

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

Configures whether to use the SQL OUTPUT clause when saving changes to the table. The OUTPUT clause is incompatible with certain SQL Server features, such as tables with triggers.

UseSqlOutputClause(OwnedNavigationTableBuilder, Boolean)

Configures whether to use the SQL OUTPUT clause when saving changes to the table. The OUTPUT clause is incompatible with certain SQL Server features, such as tables with triggers.

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

Parameters

tableBuilder
OwnedNavigationTableBuilder

The builder for the table being configured.

useSqlOutputClause
Boolean

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

Returns

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

Remarks

See Using the SQL OUTPUT clause with SQL Server for more information and examples.

Applies to

UseSqlOutputClause(SplitTableBuilder, Boolean)

Configures whether to use the SQL OUTPUT clause when saving changes to the table. The OUTPUT clause is incompatible with certain SQL Server features, such as tables with triggers.

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

Parameters

tableBuilder
SplitTableBuilder

The builder for the table being configured.

useSqlOutputClause
Boolean

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

Returns

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

Remarks

See Using the SQL OUTPUT clause with SQL Server for more information and examples.

Applies to

UseSqlOutputClause(TableBuilder, Boolean)

Configures whether to use the SQL OUTPUT clause when saving changes to the table. The OUTPUT clause is incompatible with certain SQL Server features, such as tables with triggers.

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

Parameters

tableBuilder
TableBuilder

The builder for the table being configured.

useSqlOutputClause
Boolean

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

Returns

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

Remarks

See Using the SQL OUTPUT clause with SQL Server for more information and examples.

Applies to

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

Configures whether to use the SQL OUTPUT clause when saving changes to the table. The OUTPUT clause is incompatible with certain SQL Server features, such as tables with triggers.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.SplitTableBuilder<TEntity> UseSqlOutputClause<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.SplitTableBuilder<TEntity> tableBuilder, bool useSqlOutputClause = true) where TEntity : class;
static member UseSqlOutputClause : 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 UseSqlOutputClause(Of TEntity As Class) (tableBuilder As SplitTableBuilder(Of TEntity), Optional useSqlOutputClause 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.

useSqlOutputClause
Boolean

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

Returns

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

Remarks

See Using the SQL OUTPUT clause with SQL Server for more information and examples.

Applies to

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

Configures whether to use the SQL OUTPUT clause when saving changes to the table. The OUTPUT clause is incompatible with certain SQL Server features, such as tables with triggers.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder<TEntity> UseSqlOutputClause<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder<TEntity> tableBuilder, bool useSqlOutputClause = true) where TEntity : class;
static member UseSqlOutputClause : 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 UseSqlOutputClause(Of TEntity As Class) (tableBuilder As TableBuilder(Of TEntity), Optional useSqlOutputClause 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.

useSqlOutputClause
Boolean

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

Returns

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

Remarks

See Using the SQL OUTPUT clause with SQL Server for more information and examples.

Applies to

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

Configures whether to use the SQL OUTPUT clause when saving changes to the table. The OUTPUT clause is incompatible with certain SQL Server features, such as tables with triggers.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity> UseSqlOutputClause<TOwnerEntity,TDependentEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity> tableBuilder, bool useSqlOutputClause = true) where TOwnerEntity : class where TDependentEntity : class;
static member UseSqlOutputClause : 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 UseSqlOutputClause(Of TOwnerEntity As Class, TDependentEntity As Class) (tableBuilder As OwnedNavigationTableBuilder(Of TOwnerEntity, TDependentEntity), Optional useSqlOutputClause 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.

useSqlOutputClause
Boolean

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

Returns

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

Remarks

See Using the SQL OUTPUT clause with SQL Server for more information and examples.

Applies to