MutablePropertyBaseExtensions.SetPropertyAccessMode Method

Definition

Overloads

SetPropertyAccessMode(IMutablePropertyBase, Nullable<PropertyAccessMode>)

Sets the PropertyAccessMode to use for this property.

SetPropertyAccessMode(IMutablePropertyBase, Nullable<PropertyAccessMode>)

Sets the PropertyAccessMode to use for this property.

SetPropertyAccessMode(IMutablePropertyBase, Nullable<PropertyAccessMode>)

Sets the PropertyAccessMode to use for this property.

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

Parameters

property
IMutablePropertyBase

The property for which to set the access mode.

propertyAccessMode
Nullable<PropertyAccessMode>

The PropertyAccessMode, or null to clear the mode set.

Applies to

SetPropertyAccessMode(IMutablePropertyBase, Nullable<PropertyAccessMode>)

Sets the PropertyAccessMode to use for this property.

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

Parameters

property
IMutablePropertyBase

The property for which to set the access mode.

propertyAccessMode
Nullable<PropertyAccessMode>

The PropertyAccessMode, or null to clear the mode set.

Applies to