Share via


EntityEntry.Property Method

Definition

Overloads

Property(String)

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

Property(IProperty)

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

Property(String)

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

public virtual Microsoft.EntityFrameworkCore.ChangeTracking.PropertyEntry Property (string propertyName);
abstract member Property : string -> Microsoft.EntityFrameworkCore.ChangeTracking.PropertyEntry
override this.Property : string -> Microsoft.EntityFrameworkCore.ChangeTracking.PropertyEntry
Public Overridable Function Property (propertyName As String) As PropertyEntry

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

Property(IProperty)

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

public virtual Microsoft.EntityFrameworkCore.ChangeTracking.PropertyEntry Property (Microsoft.EntityFrameworkCore.Metadata.IProperty property);
abstract member Property : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.ChangeTracking.PropertyEntry
override this.Property : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.ChangeTracking.PropertyEntry
Public Overridable Function Property (property As IProperty) As PropertyEntry

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