SqliteEntityTypeExtensions.UseSqlReturningClause Method

Definition

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.

useSqlReturningClause
Nullable<Boolean>

The value to set.

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.

useSqlReturningClause
Nullable<Boolean>

The value to set.

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.

useSqlReturningClause
Nullable<Boolean>

The value to set.

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.

useSqlReturningClause
Nullable<Boolean>

The value to set.

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