TypeBaseExtensions.GetPropertyAccessMode(ITypeBase) Methode

Definition

Ruft die ab, die PropertyAccessMode für Eigenschaften und Navigationen dieses Typs verwendet wird.

Beachten Sie, dass einzelne Eigenschaften und Navigationen diesen Zugriffsmodus außer Kraft setzen können. Der hier zurückgegebene Wert wird für jede Eigenschaft oder Navigation verwendet, für die keine Außerkraftsetzung angegeben wurde.

public static Microsoft.EntityFrameworkCore.Metadata.PropertyAccessMode? GetPropertyAccessMode (this Microsoft.EntityFrameworkCore.Metadata.ITypeBase typeBase);
public static Microsoft.EntityFrameworkCore.PropertyAccessMode? GetPropertyAccessMode (this Microsoft.EntityFrameworkCore.Metadata.ITypeBase typeBase);
public static Microsoft.EntityFrameworkCore.PropertyAccessMode GetPropertyAccessMode (this Microsoft.EntityFrameworkCore.Metadata.ITypeBase typeBase);
static member GetPropertyAccessMode : Microsoft.EntityFrameworkCore.Metadata.ITypeBase -> Nullable<Microsoft.EntityFrameworkCore.Metadata.PropertyAccessMode>
static member GetPropertyAccessMode : Microsoft.EntityFrameworkCore.Metadata.ITypeBase -> Nullable<Microsoft.EntityFrameworkCore.PropertyAccessMode>
static member GetPropertyAccessMode : Microsoft.EntityFrameworkCore.Metadata.ITypeBase -> Microsoft.EntityFrameworkCore.PropertyAccessMode
<Extension()>
Public Function GetPropertyAccessMode (typeBase As ITypeBase) As Nullable(Of PropertyAccessMode)
<Extension()>
Public Function GetPropertyAccessMode (typeBase As ITypeBase) As PropertyAccessMode

Parameter

typeBase
ITypeBase

Der Typ, für den der Zugriffsmodus abgerufen werden soll.

Gibt zurück

Der verwendete Zugriffsmodus oder NULL, wenn der Standardzugriffsmodus verwendet wird.

Gilt für: