EntityEntry<TEntity>.ComplexProperty Method
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.
Overloads
ComplexProperty<TProperty>(IComplexProperty) |
Provides access to change tracking information and operations for a given complex type property of this entity. |
ComplexProperty<TProperty>(Expression<Func<TEntity,TProperty>>) |
Provides access to change tracking information and operations for a given complex type property of this entity. |
ComplexProperty<TProperty>(String) |
Provides access to change tracking information and operations for a given complex type property of this entity. |
ComplexProperty<TProperty>(IComplexProperty)
- Source:
- EntityEntry%60.cs
- Source:
- EntityEntry%60.cs
Provides access to change tracking information and operations for a given complex type property of this entity.
public virtual Microsoft.EntityFrameworkCore.ChangeTracking.ComplexPropertyEntry<TEntity,TProperty> ComplexProperty<TProperty> (Microsoft.EntityFrameworkCore.Metadata.IComplexProperty complexProperty);
override this.ComplexProperty : Microsoft.EntityFrameworkCore.Metadata.IComplexProperty -> Microsoft.EntityFrameworkCore.ChangeTracking.ComplexPropertyEntry<'Entity, 'Property (requires 'Entity : null)>
Public Overridable Function ComplexProperty(Of TProperty) (complexProperty As IComplexProperty) As ComplexPropertyEntry(Of TEntity, TProperty)
Type Parameters
- TProperty
The type of the property.
Parameters
- complexProperty
- IComplexProperty
The property to access information and operations for.
Returns
An object that exposes change tracking information and operations for the given property.
Remarks
See Accessing tracked entities in EF Core for more information and examples.
Applies to
ComplexProperty<TProperty>(Expression<Func<TEntity,TProperty>>)
- Source:
- EntityEntry%60.cs
- Source:
- EntityEntry%60.cs
Provides access to change tracking information and operations for a given complex type property of this entity.
public virtual Microsoft.EntityFrameworkCore.ChangeTracking.ComplexPropertyEntry<TEntity,TProperty> ComplexProperty<TProperty> (System.Linq.Expressions.Expression<Func<TEntity,TProperty>> propertyExpression);
override this.ComplexProperty : System.Linq.Expressions.Expression<Func<'Entity, 'Property>> -> Microsoft.EntityFrameworkCore.ChangeTracking.ComplexPropertyEntry<'Entity, 'Property (requires 'Entity : null)>
Public Overridable Function ComplexProperty(Of TProperty) (propertyExpression As Expression(Of Func(Of TEntity, TProperty))) As ComplexPropertyEntry(Of TEntity, TProperty)
Type Parameters
- TProperty
Parameters
- propertyExpression
- Expression<Func<TEntity,TProperty>>
A lambda expression representing the property to access information and operations for.
Returns
An object that exposes change tracking information and operations for the given property.
Remarks
See Accessing tracked entities in EF Core for more information and examples.
Applies to
ComplexProperty<TProperty>(String)
- Source:
- EntityEntry%60.cs
- Source:
- EntityEntry%60.cs
Provides access to change tracking information and operations for a given complex type property of this entity.
public virtual Microsoft.EntityFrameworkCore.ChangeTracking.ComplexPropertyEntry<TEntity,TProperty> ComplexProperty<TProperty> (string propertyName);
override this.ComplexProperty : string -> Microsoft.EntityFrameworkCore.ChangeTracking.ComplexPropertyEntry<'Entity, 'Property (requires 'Entity : null)>
Public Overridable Function ComplexProperty(Of TProperty) (propertyName As String) As ComplexPropertyEntry(Of TEntity, TProperty)
Type Parameters
- TProperty
The type of the property.
Parameters
- propertyName
- String
The property to access information and operations for.
Returns
An object that exposes change tracking information and operations for the given property.
Remarks
See Accessing tracked entities in EF Core for more information and examples.
Applies to
Entity Framework