MemberEntry MemberEntry Class

Provides access to change tracking information and operations for a given property or navigation property.

Scalar properties use the derived class PropertyEntry, reference navigation properties use the derived class ReferenceEntry, and collection navigation properties use the derived class CollectionEntry.

Instances of this class are returned from methods when using the ChangeTracker API and it is not designed to be directly constructed in your application code.

Syntax

Declaration

public abstract class MemberEntry : IInfrastructure<InternalEntityEntry>Public MustInherit Class MemberEntry
    Implements IInfrastructure(Of InternalEntityEntry)

Inheritance Hierarchy

  • System.Object
    System.Object
  • MemberEntry
    MemberEntry

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()

Constructors summary

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.

Properties summary

Gets or sets the value currently assigned to this property. If the current value is set using this property, the change tracker is aware of the change and DetectChanges() is not required for the context to detect the change.

The EntityEntry to which this member belongs.

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.

For non-navigation properties, gets or sets a value indicating whether the value of this property has been modified and should be updated in the database when SaveChanges() is called.

For navigation properties, gets or sets a value indicating whether any of foreign key property values associated with this navigation property have been modified and should be updated in the database when SaveChanges() is called.

Gets the metadata that describes the facets of this property and how it maps to the database.

Explicit Interface Implementations summary

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.

Constructors

  • MemberEntry(InternalEntityEntry, IPropertyBase)
    MemberEntry(InternalEntityEntry, IPropertyBase)

    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 MemberEntry(InternalEntityEntry internalEntry, IPropertyBase metadata)Protected Sub New(internalEntry As InternalEntityEntry, metadata As IPropertyBase)

    Parameters

Properties

  • CurrentValue
    CurrentValue

    Gets or sets the value currently assigned to this property. If the current value is set using this property, the change tracker is aware of the change and DetectChanges() is not required for the context to detect the change.

    public virtual object CurrentValue { get; set; }Public Overridable Property CurrentValue As Object

    Property Value

    • System.Object
      System.Object
  • EntityEntry
    EntityEntry

    The EntityEntry to which this member belongs.

    public virtual EntityEntry EntityEntry { get; }Public Overridable ReadOnly Property EntityEntry As EntityEntry

    Property Value

  • InternalEntry
    InternalEntry

    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 InternalEntityEntry InternalEntry { get; }Protected Overridable ReadOnly Property InternalEntry As InternalEntityEntry

    Property Value

  • IsModified
    IsModified

    For non-navigation properties, gets or sets a value indicating whether the value of this property has been modified and should be updated in the database when SaveChanges() is called.

    For navigation properties, gets or sets a value indicating whether any of foreign key property values associated with this navigation property have been modified and should be updated in the database when SaveChanges() is called.

    public abstract bool IsModified { get; set; }Public MustOverride Property IsModified As Boolean

    Property Value

    • System.Boolean
      System.Boolean
  • Metadata
    Metadata

    Gets the metadata that describes the facets of this property and how it maps to the database.

    public virtual IPropertyBase Metadata { get; }Public Overridable ReadOnly Property Metadata As IPropertyBase

    Property Value

Explicit Interface Implementations

  • IInfrastructure<InternalEntityEntry>.Instance
    Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry>.Instance

    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.

    InternalEntityEntry IInfrastructure<InternalEntityEntry>.Instance { get; }ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry>.Instance As InternalEntityEntry Implements IInfrastructure(Of InternalEntityEntry).Instance

    Returns

Details

Assembly

Microsoft.EntityFrameworkCore.dll