IPropertyBase IPropertyBase Interface


Base type for navigation and scalar properties.

public interface IPropertyBase : IAnnotatable
Public Interface IPropertyBase
    Inherits IAnnotatable


ClrType ClrType

Gets the type of value that this property holds.

Type ClrType { get; }
ReadOnly Property ClrType As Type
System.Type System.Type

DeclaringEntityType DeclaringEntityType

Gets the entity type that this property belongs to.

[Obsolete("Use DeclaringType, IProperty.DeclaringEntityType, or INavigation.DeclaringEntityType.")]
IEntityType DeclaringEntityType { get; }
<Obsolete("Use DeclaringType, IProperty.DeclaringEntityType, or INavigation.DeclaringEntityType.")>
ReadOnly Property DeclaringEntityType As IEntityType

DeclaringType DeclaringType

Gets the type that this property belongs to.

ITypeBase DeclaringType { get; }
ReadOnly Property DeclaringType As ITypeBase

FieldInfo FieldInfo

Gets the FieldInfo for the underlying CLR field that this object represents. This may be null for shadow properties or if the backing field for the property is not known.

FieldInfo FieldInfo { get; }
ReadOnly Property FieldInfo As FieldInfo
System.Reflection.FieldInfo System.Reflection.FieldInfo

IsShadowProperty IsShadowProperty

Gets a value indicating whether this is a shadow property. A shadow property is one that does not have a corresponding property in the entity class. The current value for the property is stored in the ChangeTracker rather than being stored in instances of the entity class.

bool IsShadowProperty { get; }
ReadOnly Property IsShadowProperty As Boolean
System.Boolean System.Boolean

Item[String] Item(String)

Inherited from IAnnotatable

Name Name

Gets the name of the property.

string Name { get; }
ReadOnly Property Name As String
System.String System.String

PropertyInfo PropertyInfo

Gets the PropertyInfo for the underlying CLR property that this object represents. This may be null for shadow properties or properties mapped directly to fields.

PropertyInfo PropertyInfo { get; }
ReadOnly Property PropertyInfo As PropertyInfo
System.Reflection.PropertyInfo System.Reflection.PropertyInfo


FindAnnotation(String) FindAnnotation(String)

Inherited from IAnnotatable

GetAnnotations() GetAnnotations()

Inherited from IAnnotatable