Share via


ComplexPropertyEntry Class

Definition

Provides access to change tracking information and operations for a given property of a complex type.

public class ComplexPropertyEntry : Microsoft.EntityFrameworkCore.ChangeTracking.MemberEntry
type ComplexPropertyEntry = class
    inherit MemberEntry
Public Class ComplexPropertyEntry
Inherits MemberEntry
Inheritance
ComplexPropertyEntry
Derived

Remarks

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.

See Accessing tracked entities in EF Core for more information and examples.

Constructors

ComplexPropertyEntry(InternalEntityEntry, IComplexProperty)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

Properties

ComplexProperties

Provides access to change tracking information and operations for all properties of nested complex types on this complex type.

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.

(Inherited from MemberEntry)
EntityEntry

The EntityEntry to which this member belongs.

(Inherited from MemberEntry)
InternalEntry

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

(Inherited from MemberEntry)
IsModified

Gets or sets a value indicating whether any of the properties of the complex type have been modified and should be updated in the database when SaveChanges() is called.

Metadata

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

Properties

Provides access to change tracking information and operations for all properties of this complex type.

Methods

ComplexProperty(IComplexProperty)

Provides access to change tracking information and operations for a given property of a nested complex type on this complex type.

ComplexProperty(String)

Provides access to change tracking information and operations for a given property of a nested complex type on this complex type.

Property(IProperty)

Provides access to change tracking information and operations for a given property of this complex type.

Property(String)

Provides access to change tracking information and operations for a given property of this complex type.

Explicit Interface Implementations

IInfrastructure<InternalEntityEntry>.Instance

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

(Inherited from MemberEntry)

Extension Methods

GetInfrastructure<T>(IInfrastructure<T>)

Gets the value from a property that is being hidden using IInfrastructure<T>.

This method is typically used by database providers (and other extensions). It is generally not used in application code.

Applies to