IReadOnlyModel.GetPropertyAccessMode Method
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.
Gets the PropertyAccessMode being used for properties of entity types in this model.
[System.Diagnostics.DebuggerStepThrough]
public Microsoft.EntityFrameworkCore.PropertyAccessMode GetPropertyAccessMode ();
[<System.Diagnostics.DebuggerStepThrough>]
abstract member GetPropertyAccessMode : unit -> Microsoft.EntityFrameworkCore.PropertyAccessMode
Public Function GetPropertyAccessMode () As PropertyAccessMode
The access mode being used.
- Attributes
Note that individual entity types can override this access mode, and individual properties of entity types can override the access mode set on the entity type. The value returned here will be used for any property for which no override has been specified.
See Modeling entity types and relationships for more information and examples.
Product | Versions |
---|---|
Entity Framework Core | 6.0, 7.0, 8.0, 9.0 |
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: