Bagikan melalui


TypeBaseExtensions.GetPropertyAccessMode(ITypeBase) Metode

Definisi

Mendapatkan yang PropertyAccessMode digunakan untuk properti dan navigasi jenis ini.

Perhatikan bahwa properti dan navigasi individual dapat mengambil alih mode akses ini. Nilai yang dikembalikan di sini akan digunakan untuk properti atau navigasi apa pun yang tidak ada penimpaan yang telah ditentukan.

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

Jenis untuk mendapatkan mode akses.

Mengembalikan

Mode akses sedang digunakan, atau null jika mode akses default sedang digunakan.

Berlaku untuk