Share via


EntityEntry<TEntity>.Property Method

Definition

Overloads

Property<TProperty>(IProperty)

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

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

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

Property<TProperty>(String)

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

Property<TProperty>(IProperty)

Source:
EntityEntry%60.cs
Source:
EntityEntry%60.cs
Source:
EntityEntry%60.cs

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

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<TEntity,TProperty>>)

Source:
EntityEntry%60.cs
Source:
EntityEntry%60.cs
Source:
EntityEntry%60.cs
Source:
EntityEntry%60.cs
Source:
EntityEntry%60.cs
Source:
EntityEntry%60.cs
Source:
EntityEntry%60.cs
Source:
EntityEntry%60.cs
Source:
EntityEntry%60.cs

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

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

Property<TProperty>(String)

Source:
EntityEntry%60.cs
Source:
EntityEntry%60.cs
Source:
EntityEntry%60.cs
Source:
EntityEntry%60.cs
Source:
EntityEntry%60.cs
Source:
EntityEntry%60.cs
Source:
EntityEntry%60.cs
Source:
EntityEntry%60.cs
Source:
EntityEntry%60.cs

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

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