PropertyBaseExtensions PropertyBaseExtensions Class

Extension methods for IPropertyBase.

Syntax

Declaration

public static class PropertyBaseExtensionsPublic Module PropertyBaseExtensions

Inheritance Hierarchy

  • System.Object
    System.Object
  • PropertyBaseExtensions
    PropertyBaseExtensions

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Methods summary

Gets the name of the backing field for this property, or null if the backing field is not known.

Gets the PropertyAccessMode being used for this property. Null indicates that the default property access mode is being used.

Methods

  • GetField(IPropertyBase)
    GetField(IPropertyBase)

    Gets the name of the backing field for this property, or null if the backing field is not known.

    public static string GetField(this IPropertyBase propertyBase)<ExtensionAttribute>
    Public Shared Function GetField(propertyBase As IPropertyBase) As String

    Parameters

    Returns

    • System.String
      System.String

      The name of the backing field, or null.

  • GetPropertyAccessMode(IPropertyBase)
    GetPropertyAccessMode(IPropertyBase)

    Gets the PropertyAccessMode being used for this property. Null indicates that the default property access mode is being used.

    public static PropertyAccessMode? GetPropertyAccessMode(this IPropertyBase propertyBase)<ExtensionAttribute>
    Public Shared Function GetPropertyAccessMode(propertyBase As IPropertyBase) As PropertyAccessMode?

    Parameters

    Returns

Details

Assembly

Microsoft.EntityFrameworkCore.dll