SqliteEntityTypeExtensions.UseSqlReturningClause 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
UseSqlReturningClause(IMutableEntityType, Nullable<Boolean>) |
Sets a value indicating 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(IConventionEntityType, Nullable<Boolean>, Boolean) |
Sets a value indicating 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(IMutableEntityType, Nullable<Boolean>, StoreObjectIdentifier) |
Sets a value indicating 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(IConventionEntityType, Nullable<Boolean>, StoreObjectIdentifier, Boolean) |
Sets a value indicating 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(IMutableEntityType, Nullable<Boolean>)
Sets a value indicating 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 void UseSqlReturningClause (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, bool? useSqlReturningClause);
static member UseSqlReturningClause : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * Nullable<bool> -> unit
<Extension()>
Public Sub UseSqlReturningClause (entityType As IMutableEntityType, useSqlReturningClause As Nullable(Of Boolean))
Parameters
- entityType
- IMutableEntityType
The entity type.
Applies to
UseSqlReturningClause(IConventionEntityType, Nullable<Boolean>, Boolean)
Sets a value indicating 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 bool? UseSqlReturningClause (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, bool? useSqlReturningClause, bool fromDataAnnotation = false);
static member UseSqlReturningClause : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * Nullable<bool> * bool -> Nullable<bool>
<Extension()>
Public Function UseSqlReturningClause (entityType As IConventionEntityType, useSqlReturningClause 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
UseSqlReturningClause(IMutableEntityType, Nullable<Boolean>, StoreObjectIdentifier)
Sets a value indicating 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 void UseSqlReturningClause (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, bool? useSqlReturningClause, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member UseSqlReturningClause : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * Nullable<bool> * StoreObjectIdentifier -> unit
<Extension()>
Public Sub UseSqlReturningClause (entityType As IMutableEntityType, useSqlReturningClause 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
UseSqlReturningClause(IConventionEntityType, Nullable<Boolean>, StoreObjectIdentifier, Boolean)
Sets a value indicating 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 bool? UseSqlReturningClause (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, bool? useSqlReturningClause, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, bool fromDataAnnotation = false);
static member UseSqlReturningClause : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * Nullable<bool> * StoreObjectIdentifier * bool -> Nullable<bool>
<Extension()>
Public Function UseSqlReturningClause (entityType As IConventionEntityType, useSqlReturningClause 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