TypeBaseExtensions.GetNavigationAccessMode(ITypeBase) 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.
Gets the PropertyAccessMode being used for navigations of this type.
Note that individual navigations can override this access mode. The value returned here will be used for any navigation for which no override has been specified.
public static Microsoft.EntityFrameworkCore.PropertyAccessMode? GetNavigationAccessMode (this Microsoft.EntityFrameworkCore.Metadata.ITypeBase typeBase);
public static Microsoft.EntityFrameworkCore.PropertyAccessMode GetNavigationAccessMode (this Microsoft.EntityFrameworkCore.Metadata.ITypeBase typeBase);
static member GetNavigationAccessMode : Microsoft.EntityFrameworkCore.Metadata.ITypeBase -> Nullable<Microsoft.EntityFrameworkCore.PropertyAccessMode>
static member GetNavigationAccessMode : Microsoft.EntityFrameworkCore.Metadata.ITypeBase -> Microsoft.EntityFrameworkCore.PropertyAccessMode
<Extension()>
Public Function GetNavigationAccessMode (typeBase As ITypeBase) As Nullable(Of PropertyAccessMode)
<Extension()>
Public Function GetNavigationAccessMode (typeBase As ITypeBase) As PropertyAccessMode
Parameters
- typeBase
- ITypeBase
The type for which to get the access mode.
Returns
The access mode being used, or null if the default access mode is being used.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för