Sdílet prostřednictvím


MutablePropertyBaseExtensions.SetPropertyAccessMode Metoda

Definice

Přetížení

SetPropertyAccessMode(IMutablePropertyBase, Nullable<PropertyAccessMode>)

Nastaví pro PropertyAccessMode tuto vlastnost .

SetPropertyAccessMode(IMutablePropertyBase, Nullable<PropertyAccessMode>)

Nastaví pro PropertyAccessMode tuto vlastnost .

SetPropertyAccessMode(IMutablePropertyBase, Nullable<PropertyAccessMode>)

Nastaví pro PropertyAccessMode tuto vlastnost .

public static void SetPropertyAccessMode (this Microsoft.EntityFrameworkCore.Metadata.IMutablePropertyBase property, Microsoft.EntityFrameworkCore.Metadata.PropertyAccessMode? propertyAccessMode);
static member SetPropertyAccessMode : Microsoft.EntityFrameworkCore.Metadata.IMutablePropertyBase * Nullable<Microsoft.EntityFrameworkCore.Metadata.PropertyAccessMode> -> unit
<Extension()>
Public Sub SetPropertyAccessMode (property As IMutablePropertyBase, propertyAccessMode As Nullable(Of PropertyAccessMode))

Parametry

property
IMutablePropertyBase

Vlastnost, pro kterou chcete nastavit režim přístupu.

propertyAccessMode
Nullable<PropertyAccessMode>

Hodnota PropertyAccessMode, nebo null vymažete nastavený režim.

Platí pro

SetPropertyAccessMode(IMutablePropertyBase, Nullable<PropertyAccessMode>)

Nastaví pro PropertyAccessMode tuto vlastnost .

public static void SetPropertyAccessMode (this Microsoft.EntityFrameworkCore.Metadata.IMutablePropertyBase property, Microsoft.EntityFrameworkCore.PropertyAccessMode? propertyAccessMode);
static member SetPropertyAccessMode : Microsoft.EntityFrameworkCore.Metadata.IMutablePropertyBase * Nullable<Microsoft.EntityFrameworkCore.PropertyAccessMode> -> unit
<Extension()>
Public Sub SetPropertyAccessMode (property As IMutablePropertyBase, propertyAccessMode As Nullable(Of PropertyAccessMode))

Parametry

property
IMutablePropertyBase

Vlastnost, pro kterou chcete nastavit režim přístupu.

propertyAccessMode
Nullable<PropertyAccessMode>

Hodnota PropertyAccessMode, nebo null vymažete nastavený režim.

Platí pro