Udostępnij przez


TypeBaseExtensions.GetPropertyAccessMode(ITypeBase) Metoda

Definicja

PropertyAccessMode Pobiera element używany do obsługi właściwości i nawigacji tego typu.

Należy pamiętać, że poszczególne właściwości i nawigacje mogą zastąpić ten tryb dostępu. Zwrócona tutaj wartość będzie używana dla dowolnej właściwości lub nawigacji, dla której nie określono przesłonięcia.

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

Parametry

typeBase
ITypeBase

Typ, dla którego ma być uzyskiwany tryb dostępu.

Zwraca

Używany tryb dostępu lub ma wartość null, jeśli jest używany domyślny tryb dostępu.

Dotyczy