PropertyBaseExtensions.GetPropertyAccessMode(IPropertyBase) Méthode
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient le PropertyAccessMode utilisé pour cette propriété.
null
indique que le mode d’accès aux propriétés par défaut est utilisé.
public static Microsoft.EntityFrameworkCore.Metadata.PropertyAccessMode? GetPropertyAccessMode (this Microsoft.EntityFrameworkCore.Metadata.IPropertyBase propertyBase);
public static Microsoft.EntityFrameworkCore.PropertyAccessMode? GetPropertyAccessMode (this Microsoft.EntityFrameworkCore.Metadata.IPropertyBase propertyBase);
public static Microsoft.EntityFrameworkCore.PropertyAccessMode GetPropertyAccessMode (this Microsoft.EntityFrameworkCore.Metadata.IPropertyBase propertyBase);
static member GetPropertyAccessMode : Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> Nullable<Microsoft.EntityFrameworkCore.Metadata.PropertyAccessMode>
static member GetPropertyAccessMode : Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> Nullable<Microsoft.EntityFrameworkCore.PropertyAccessMode>
static member GetPropertyAccessMode : Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> Microsoft.EntityFrameworkCore.PropertyAccessMode
<Extension()>
Public Function GetPropertyAccessMode (propertyBase As IPropertyBase) As Nullable(Of PropertyAccessMode)
<Extension()>
Public Function GetPropertyAccessMode (propertyBase As IPropertyBase) As PropertyAccessMode
- propertyBase
- IPropertyBase
Propriété pour laquelle obtenir le mode d’accès.
Mode d’accès utilisé ou null
si le mode d’accès par défaut est utilisé.
Produit | Versions |
---|---|
Entity Framework Core | 1.1, 2.0, 2.1, 2.2, 3.0, 3.1 |
Commentaires sur Entity Framework
Entity Framework est un projet open source. Sélectionnez un lien pour fournir des commentaires :