SqlServerEntityTypeMappingFragmentExtensions.UseSqlOutputClause メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
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(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
エンティティ型マッピング フラグメント。
- fromDataAnnotation
- Boolean
構成がデータ注釈を使用して指定されたかどうかを示します。
戻り値
構成された値です。
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Entity Framework