MutableTypeBaseExtensions.SetNavigationAccessMode メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
PropertyAccessModeこのエンティティ型のナビゲーションに使用する を設定します。
個々のナビゲーションがこのアクセス モードをオーバーライドできることに注意してください。 ここで設定した値は、オーバーライドが指定されていないナビゲーションに使用されます。
public static void SetNavigationAccessMode (this Microsoft.EntityFrameworkCore.Metadata.IMutableTypeBase entityType, Microsoft.EntityFrameworkCore.PropertyAccessMode? propertyAccessMode);
static member SetNavigationAccessMode : Microsoft.EntityFrameworkCore.Metadata.IMutableTypeBase * Nullable<Microsoft.EntityFrameworkCore.PropertyAccessMode> -> unit
<Extension()>
Public Sub SetNavigationAccessMode (entityType As IMutableTypeBase, propertyAccessMode As Nullable(Of PropertyAccessMode))
パラメーター
- entityType
- IMutableTypeBase
アクセス モードを設定する型。
- propertyAccessMode
- Nullable<PropertyAccessMode>
モード PropertyAccessModeセットをクリアする 。または null
。
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Entity Framework