ComplexElementEntry<TEntity,TComplexProperty> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides access to change tracking information and operations for a given complex type instance.
[System.Runtime.CompilerServices.Nullable(0)]
public class ComplexElementEntry<TEntity,TComplexProperty> : Microsoft.EntityFrameworkCore.ChangeTracking.ComplexElementEntry where TEntity : class
[<System.Runtime.CompilerServices.Nullable(0)>]
type ComplexElementEntry<'Entity, 'ComplexProperty (requires 'Entity : null)> = class
inherit ComplexElementEntry
Public Class ComplexElementEntry(Of TEntity, TComplexProperty)
Inherits ComplexElementEntry
Type Parameters
- TEntity
The type of the entity type that contains the property.
- TComplexProperty
The type of the property.
- Inheritance
- Attributes
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
| Name | Description |
|---|---|
| ComplexElementEntry<TEntity,TComplexProperty>(InternalComplexEntry) |
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
| Name | Description |
|---|---|
| ComplexCollections |
Provides access to change tracking information and operations for all collection properties of complex type on this complex type. (Inherited from ComplexElementEntry) |
| ComplexProperties |
Provides access to change tracking information and operations for all properties of nested complex types on this complex type. (Inherited from ComplexElementEntry) |
| 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 |
The EntityEntry<TEntity> to which this member belongs. |
| 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 ComplexElementEntry) |
| 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. (Inherited from ComplexElementEntry) |
| Metadata |
Gets the metadata that describes the facets of this property and how it maps to the database. (Inherited from ComplexElementEntry) |
| Properties |
Provides access to change tracking information and operations for all properties of this complex type. (Inherited from ComplexElementEntry) |
| State |
Gets or sets that state that this entry is in. (Inherited from ComplexElementEntry) |
Methods
| Name | Description |
|---|---|
| ComplexCollection(IComplexProperty) |
Provides access to change tracking information and operations for a given collection property of a complex type on this complex type. (Inherited from ComplexElementEntry) |
| ComplexCollection(String) |
Provides access to change tracking information and operations for a given collection property of a complex type on this complex type. (Inherited from ComplexElementEntry) |
| ComplexCollection<TElement>(Expression<Func<TEntity,IEnumerable<TElement>>>) |
Provides access to change tracking information and operations for a given complex type property of this complex type. |
| ComplexCollection<TElement>(IComplexProperty) |
Provides access to change tracking information and operations for a given collection property of a complex type on this complex type. |
| ComplexCollection<TElement>(String) |
Provides access to change tracking information and operations for a given collection property of a complex type of this complex type. |
| ComplexProperty(IComplexProperty) |
Provides access to change tracking information and operations for a given property of a nested complex type on this complex type. (Inherited from ComplexElementEntry) |
| ComplexProperty(String) |
Provides access to change tracking information and operations for a given property of a nested complex type on this complex type. (Inherited from ComplexElementEntry) |
| ComplexProperty<TNestedComplexProperty>(Expression<Func<TComplexProperty,TNestedComplexProperty>>) |
Provides access to change tracking information and operations for a given complex type property of this complex type. |
| ComplexProperty<TNestedComplexProperty>(IComplexProperty) |
Provides access to change tracking information and operations for a given complex type property of this complex type. |
| ComplexProperty<TNestedComplexProperty>(String) |
Provides access to change tracking information and operations for a given complex type property of this complex type. |
| Property(IProperty) |
Provides access to change tracking information and operations for a given property of this complex type. (Inherited from ComplexElementEntry) |
| Property(String) |
Provides access to change tracking information and operations for a given property of this complex type. (Inherited from ComplexElementEntry) |
| Property<TProperty>(Expression<Func<TComplexProperty,TProperty>>) |
Provides access to change tracking information and operations for a given property of this complex type. |
| Property<TProperty>(IProperty) |
Provides access to change tracking information and operations for a given property of this complex type. |
| Property<TProperty>(String) |
Provides access to change tracking information and operations for a given property of this complex type. |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IInfrastructure<InternalComplexEntry>.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 ComplexElementEntry) |
Extension Methods
| Name | Description |
|---|---|
| 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. |