MutablePropertyBaseExtensions.SetPropertyAccessMode 方法

定义

重载

SetPropertyAccessMode(IMutablePropertyBase, Nullable<PropertyAccessMode>)

PropertyAccessMode设置要用于此属性的 。

SetPropertyAccessMode(IMutablePropertyBase, Nullable<PropertyAccessMode>)

PropertyAccessMode设置要用于此属性的 。

SetPropertyAccessMode(IMutablePropertyBase, Nullable<PropertyAccessMode>)

PropertyAccessMode设置要用于此属性的 。

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))

参数

property
IMutablePropertyBase

要为其设置访问模式的属性。

propertyAccessMode
Nullable<PropertyAccessMode>

用于 PropertyAccessMode清除模式集的 或 null。

适用于

SetPropertyAccessMode(IMutablePropertyBase, Nullable<PropertyAccessMode>)

PropertyAccessMode设置要用于此属性的 。

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))

参数

property
IMutablePropertyBase

要为其设置访问模式的属性。

propertyAccessMode
Nullable<PropertyAccessMode>

用于 PropertyAccessMode清除模式集的 或 null。

适用于