SqliteEntityTypeMappingFragmentExtensions.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(IMutableEntityTypeMappingFragment, 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(IConventionEntityTypeMappingFragment, 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(IMutableEntityTypeMappingFragment, 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.IMutableEntityTypeMappingFragment fragment, bool? useSqlReturningClause);
static member UseSqlReturningClause : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityTypeMappingFragment * Nullable<bool> -> unit
<Extension()>
Public Sub UseSqlReturningClause (fragment As IMutableEntityTypeMappingFragment, useSqlReturningClause As Nullable(Of Boolean))
Parameters
- fragment
- IMutableEntityTypeMappingFragment
The entity type mapping fragment.
Applies to
UseSqlReturningClause(IConventionEntityTypeMappingFragment, 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.IConventionEntityTypeMappingFragment fragment, bool? useSqlReturningClause, bool fromDataAnnotation = false);
static member UseSqlReturningClause : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityTypeMappingFragment * Nullable<bool> * bool -> Nullable<bool>
<Extension()>
Public Function UseSqlReturningClause (fragment As IConventionEntityTypeMappingFragment, useSqlReturningClause As Nullable(Of Boolean), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Boolean)
Parameters
- fragment
- IConventionEntityTypeMappingFragment
The entity type mapping fragment.
- fromDataAnnotation
- Boolean
Indicates whether the configuration was specified using a data annotation.
Returns
The configured value.
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: