MutablePropertyBaseExtensions.SetPropertyAccessMode Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för