SqlServerEntityTypeExtensions.UseSqlOutputClause 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
UseSqlOutputClause(IMutableEntityType, Nullable<Boolean>) |
Sets a value indicating 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(IConventionEntityType, Nullable<Boolean>, Boolean) |
Sets a value indicating 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(IMutableEntityType, Nullable<Boolean>, StoreObjectIdentifier) |
Sets a value indicating 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(IConventionEntityType, Nullable<Boolean>, StoreObjectIdentifier, Boolean) |
Sets a value indicating 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(IMutableEntityType, Nullable<Boolean>)
Sets a value indicating 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 void UseSqlOutputClause (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, bool? useSqlOutputClause);
static member UseSqlOutputClause : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * Nullable<bool> -> unit
<Extension()>
Public Sub UseSqlOutputClause (entityType As IMutableEntityType, useSqlOutputClause As Nullable(Of Boolean))
Parameters
- entityType
- IMutableEntityType
The entity type.
Applies to
UseSqlOutputClause(IConventionEntityType, Nullable<Boolean>, Boolean)
Sets a value indicating 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 bool? UseSqlOutputClause (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, bool? useSqlOutputClause, bool fromDataAnnotation = false);
static member UseSqlOutputClause : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * Nullable<bool> * bool -> Nullable<bool>
<Extension()>
Public Function UseSqlOutputClause (entityType As IConventionEntityType, useSqlOutputClause As Nullable(Of Boolean), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Boolean)
Parameters
- entityType
- IConventionEntityType
The entity type.
- fromDataAnnotation
- Boolean
Indicates whether the configuration was specified using a data annotation.
Returns
The configured value.
Applies to
UseSqlOutputClause(IMutableEntityType, Nullable<Boolean>, StoreObjectIdentifier)
Sets a value indicating 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 void UseSqlOutputClause (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, bool? useSqlOutputClause, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member UseSqlOutputClause : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * Nullable<bool> * StoreObjectIdentifier -> unit
<Extension()>
Public Sub UseSqlOutputClause (entityType As IMutableEntityType, useSqlOutputClause As Nullable(Of Boolean), ByRef storeObject As StoreObjectIdentifier)
Parameters
- entityType
- IMutableEntityType
The entity type.
- storeObject
- StoreObjectIdentifier
The identifier of the table-like store object.
Applies to
UseSqlOutputClause(IConventionEntityType, Nullable<Boolean>, StoreObjectIdentifier, Boolean)
Sets a value indicating 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 bool? UseSqlOutputClause (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, bool? useSqlOutputClause, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, bool fromDataAnnotation = false);
static member UseSqlOutputClause : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * Nullable<bool> * StoreObjectIdentifier * bool -> Nullable<bool>
<Extension()>
Public Function UseSqlOutputClause (entityType As IConventionEntityType, useSqlOutputClause As Nullable(Of Boolean), ByRef storeObject As StoreObjectIdentifier, Optional fromDataAnnotation As Boolean = false) As Nullable(Of Boolean)
Parameters
- entityType
- IConventionEntityType
The entity type.
- storeObject
- StoreObjectIdentifier
The identifier of the table-like store object.
- fromDataAnnotation
- Boolean
Indicates whether the configuration was specified using a data annotation.
Returns
The configured value.
Applies to
Entity Framework