次の方法で共有


SqlServerEntityTypeMappingFragmentExtensions.UseSqlOutputClause メソッド

定義

オーバーロード

UseSqlOutputClause(IMutableEntityTypeMappingFragment, Nullable<Boolean>)

関連付けられたテーブルへの変更を保存するときに SQL OUTPUT 句を使用するかどうかを設定します。 OUTPUT 句は、トリガーを含むテーブルなど、特定のSQL Server機能と互換性がありません。

UseSqlOutputClause(IConventionEntityTypeMappingFragment, Nullable<Boolean>, Boolean)

関連付けられたテーブルへの変更を保存するときに SQL OUTPUT 句を使用するかどうかを設定します。 OUTPUT 句は、トリガーを含むテーブルなど、特定のSQL Server機能と互換性がありません。

UseSqlOutputClause(IMutableEntityTypeMappingFragment, Nullable<Boolean>)

関連付けられたテーブルへの変更を保存するときに SQL OUTPUT 句を使用するかどうかを設定します。 OUTPUT 句は、トリガーを含むテーブルなど、特定のSQL Server機能と互換性がありません。

public static void UseSqlOutputClause (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityTypeMappingFragment fragment, bool? useSqlOutputClause);
static member UseSqlOutputClause : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityTypeMappingFragment * Nullable<bool> -> unit
<Extension()>
Public Sub UseSqlOutputClause (fragment As IMutableEntityTypeMappingFragment, useSqlOutputClause As Nullable(Of Boolean))

パラメーター

fragment
IMutableEntityTypeMappingFragment

エンティティ型マッピング フラグメント。

useSqlOutputClause
Nullable<Boolean>

設定する値。

適用対象

UseSqlOutputClause(IConventionEntityTypeMappingFragment, Nullable<Boolean>, Boolean)

関連付けられたテーブルへの変更を保存するときに SQL OUTPUT 句を使用するかどうかを設定します。 OUTPUT 句は、トリガーを含むテーブルなど、特定のSQL Server機能と互換性がありません。

public static bool? UseSqlOutputClause (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityTypeMappingFragment fragment, bool? useSqlOutputClause, bool fromDataAnnotation = false);
static member UseSqlOutputClause : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityTypeMappingFragment * Nullable<bool> * bool -> Nullable<bool>
<Extension()>
Public Function UseSqlOutputClause (fragment As IConventionEntityTypeMappingFragment, useSqlOutputClause As Nullable(Of Boolean), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Boolean)

パラメーター

fragment
IConventionEntityTypeMappingFragment

エンティティ型マッピング フラグメント。

useSqlOutputClause
Nullable<Boolean>

設定する値。

fromDataAnnotation
Boolean

構成がデータ注釈を使用して指定されたかどうかを示します。

戻り値

構成された値です。

適用対象