Share via


ComplexPropertyEntry<TEntity,TComplexProperty>.Property Method

Definition

Overloads

Property<TProperty>(IProperty)

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

Property<TProperty>(Expression<Func<TComplexProperty,TProperty>>)

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.

Property<TProperty>(IProperty)

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

public virtual Microsoft.EntityFrameworkCore.ChangeTracking.PropertyEntry<TEntity,TProperty> Property<TProperty> (Microsoft.EntityFrameworkCore.Metadata.IProperty property);
override this.Property : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.ChangeTracking.PropertyEntry<'Entity, 'Property (requires 'Entity : null)>
Public Overridable Function Property(Of TProperty) (property As IProperty) As PropertyEntry(Of TEntity, TProperty)

Type Parameters

TProperty

The type of the property.

Parameters

property
IProperty

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

Property<TProperty>(Expression<Func<TComplexProperty,TProperty>>)

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

public virtual Microsoft.EntityFrameworkCore.ChangeTracking.PropertyEntry<TEntity,TProperty> Property<TProperty> (System.Linq.Expressions.Expression<Func<TComplexProperty,TProperty>> propertyExpression);
override this.Property : System.Linq.Expressions.Expression<Func<'ComplexProperty, 'Property>> -> Microsoft.EntityFrameworkCore.ChangeTracking.PropertyEntry<'Entity, 'Property (requires 'Entity : null)>
Public Overridable Function Property(Of TProperty) (propertyExpression As Expression(Of Func(Of TComplexProperty, TProperty))) As PropertyEntry(Of TEntity, TProperty)

Type Parameters

TProperty

Parameters

propertyExpression
Expression<Func<TComplexProperty,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

Property<TProperty>(String)

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

public virtual Microsoft.EntityFrameworkCore.ChangeTracking.PropertyEntry<TEntity,TProperty> Property<TProperty> (string propertyName);
override this.Property : string -> Microsoft.EntityFrameworkCore.ChangeTracking.PropertyEntry<'Entity, 'Property (requires 'Entity : null)>
Public Overridable Function Property(Of TProperty) (propertyName As String) As PropertyEntry(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