PropertyBase PropertyBase Class

Definition

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public abstract class PropertyBase : ConventionalAnnotatable, IMutablePropertyBase, IPropertyBase, IMutableAnnotatable, IAnnotatable
Public MustInherit Class PropertyBase
    Inherits ConventionalAnnotatable
    Implements IMutablePropertyBase, IPropertyBase, IMutableAnnotatable, IAnnotatable
Inheritance
System.ObjectSystem.Object
PropertyBasePropertyBase
Implements

Constructors

PropertyBase(String, PropertyInfo, FieldInfo) PropertyBase(String, PropertyInfo, FieldInfo)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

protected PropertyBase(string name, PropertyInfo propertyInfo, FieldInfo fieldInfo)
Protected Sub New(name As String, propertyInfo As PropertyInfo, fieldInfo As FieldInfo)
Parameters
name
System.String System.String
propertyInfo
System.Reflection.PropertyInfo System.Reflection.PropertyInfo
fieldInfo
System.Reflection.FieldInfo System.Reflection.FieldInfo

Properties

Accessors Accessors

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual PropertyAccessors Accessors { get; }
Public Overridable ReadOnly Property Accessors As PropertyAccessors

ClrType ClrType

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public abstract Type ClrType { get; }
Public MustOverride ReadOnly Property ClrType As Type
Value
System.Type System.Type

DeclaringType DeclaringType

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual IMutableTypeBase DeclaringType { get; }
Public Overridable ReadOnly Property DeclaringType As IMutableTypeBase

FieldInfo FieldInfo

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual FieldInfo FieldInfo { get; set; }
Public Overridable Property FieldInfo As FieldInfo
Value
System.Reflection.FieldInfo System.Reflection.FieldInfo

Getter Getter

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual IClrPropertyGetter Getter { get; }
Public Overridable ReadOnly Property Getter As IClrPropertyGetter

IsShadowProperty IsShadowProperty

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual bool IsShadowProperty { get; }
Public Overridable ReadOnly Property IsShadowProperty As Boolean
Value
System.Boolean System.Boolean

Item[String] Item(String)

Inherited from Annotatable

MemberInfo MemberInfo

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual MemberInfo MemberInfo { get; }
Public Overridable ReadOnly Property MemberInfo As MemberInfo
Value
System.Reflection.MemberInfo System.Reflection.MemberInfo

Name Name

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual string Name { get; }
Public Overridable ReadOnly Property Name As String
Value
System.String System.String

PropertyInfo PropertyInfo

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual PropertyInfo PropertyInfo { get; }
Public Overridable ReadOnly Property PropertyInfo As PropertyInfo
Value
System.Reflection.PropertyInfo System.Reflection.PropertyInfo

Setter Setter

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual IClrPropertySetter Setter { get; }
Public Overridable ReadOnly Property Setter As IClrPropertySetter

Methods

AddAnnotation(String, Annotation) AddAnnotation(String, Annotation)

Inherited from Annotatable

AddAnnotation(String, Object) AddAnnotation(String, Object)

Inherited from ConventionalAnnotatable

AddAnnotation(String, Object, ConfigurationSource) AddAnnotation(String, Object, ConfigurationSource)

Inherited from ConventionalAnnotatable

CreateAnnotation(String, Object) CreateAnnotation(String, Object)

Inherited from ConventionalAnnotatable

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

FindAnnotation(String) FindAnnotation(String)

Inherited from ConventionalAnnotatable

GetAnnotations() GetAnnotations()

Inherited from ConventionalAnnotatable

GetFieldInfoConfigurationSource() GetFieldInfoConfigurationSource()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual ConfigurationSource? GetFieldInfoConfigurationSource()
Public Overridable Function GetFieldInfoConfigurationSource As ConfigurationSource?
Returns
System.Nullable<ConfigurationSource> System.Nullable(Of ConfigurationSource)

GetHashCode() GetHashCode()

Inherited from System.Object

GetOrAddAnnotation(String, Object) GetOrAddAnnotation(String, Object)

Inherited from ConventionalAnnotatable

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

OnAnnotationSet(String, Annotation, Annotation) OnAnnotationSet(String, Annotation, Annotation)

Inherited from Annotatable

OnFieldInfoSet(FieldInfo) OnFieldInfoSet(FieldInfo)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

protected virtual void OnFieldInfoSet(FieldInfo oldFieldInfo)
Protected Overridable Sub OnFieldInfoSet(oldFieldInfo As FieldInfo)
Parameters
oldFieldInfo
System.Reflection.FieldInfo System.Reflection.FieldInfo

PropertyMetadataChanged() PropertyMetadataChanged()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

protected abstract void PropertyMetadataChanged()
Protected MustOverride Sub PropertyMetadataChanged

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

RemoveAnnotation(String) RemoveAnnotation(String)

Inherited from ConventionalAnnotatable

SetAnnotation(String, Annotation) SetAnnotation(String, Annotation)

Inherited from Annotatable

SetAnnotation(String, Object, ConfigurationSource) SetAnnotation(String, Object, ConfigurationSource)

Inherited from ConventionalAnnotatable

SetField(String, ConfigurationSource) SetField(String, ConfigurationSource)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void SetField(string fieldName, ConfigurationSource configurationSource)
Public Overridable Sub SetField(fieldName As String, configurationSource As ConfigurationSource)
Parameters
fieldName
System.String System.String

SetFieldInfo(FieldInfo, ConfigurationSource, Boolean) SetFieldInfo(FieldInfo, ConfigurationSource, Boolean)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void SetFieldInfo(FieldInfo fieldInfo, ConfigurationSource configurationSource, bool runConventions = true)
Public Overridable Sub SetFieldInfo(fieldInfo As FieldInfo, configurationSource As ConfigurationSource, runConventions As Boolean = True)
Parameters
fieldInfo
System.Reflection.FieldInfo System.Reflection.FieldInfo
runConventions
System.Boolean System.Boolean

ToString() ToString()

Inherited from System.Object

Explicit Interface Implementations

IAnnotatable.FindAnnotation(String) Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.FindAnnotation(String)

Inherited from Annotatable

IAnnotatable.GetAnnotations() Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.GetAnnotations()

Inherited from Annotatable

IPropertyBase.DeclaringEntityType Microsoft.EntityFrameworkCore.Metadata.IPropertyBase.DeclaringEntityType

[Obsolete("Use DeclaringType, IProperty.DeclaringEntityType, or INavigation.DeclaringEntityType.")]
IEntityType IPropertyBase.DeclaringEntityType { get; }
<Obsolete("Use DeclaringType, IProperty.DeclaringEntityType, or INavigation.DeclaringEntityType.")>
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.IPropertyBase.DeclaringEntityType As IEntityType Implements IPropertyBase.DeclaringEntityType
Returns

IPropertyBase.DeclaringType Microsoft.EntityFrameworkCore.Metadata.IPropertyBase.DeclaringType

ITypeBase IPropertyBase.DeclaringType { get; }
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.IPropertyBase.DeclaringType As ITypeBase Implements IPropertyBase.DeclaringType
Returns