MemberEntry MemberEntry Class

Definition

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.

public abstract class MemberEntry : IInfrastructure<InternalEntityEntry>
Public MustInherit Class MemberEntry
    Implements IInfrastructure(Of InternalEntityEntry)
Inheritance
System.ObjectSystem.Object
MemberEntryMemberEntry
Implements

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.

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.

EntityEntry EntityEntry

The EntityEntry to which this member belongs.

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.

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.

Metadata Metadata

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

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.

Methods

System.Object.Equals(System.Object) System.Object.Equals(System.Object) Inherited from System.Object
System.Object.Equals(System.Object, System.Object) System.Object.Equals(System.Object, System.Object) Inherited from System.Object
System.Object.GetHashCode() System.Object.GetHashCode() Inherited from System.Object
System.Object.GetType() System.Object.GetType() Inherited from System.Object
System.Object.MemberwiseClone() System.Object.MemberwiseClone() Inherited from System.Object
System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ReferenceEquals(System.Object, System.Object) Inherited from System.Object
System.Object.ToString() System.Object.ToString() Inherited from System.Object

Extension Methods

Microsoft.EntityFrameworkCore.Infrastructure.AccessorExtensions.GetInfrastructure<Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry>() Microsoft.EntityFrameworkCore.Infrastructure.AccessorExtensions.GetInfrastructure(Of Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry)()