Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
EntityEntry<TEntity>.Property Method
Definition
- Namespace:
- Microsoft.EntityFrameworkCore.ChangeTracking
- Assembly:
- Microsoft.EntityFrameworkCore.dll
- Package:
- Microsoft.EntityFrameworkCore v10.0.0
- Package:
- Microsoft.EntityFrameworkCore v7.0.0
- Package:
- Microsoft.EntityFrameworkCore v8.0.0
- Package:
- Microsoft.EntityFrameworkCore v9.0.0
- Package:
- Microsoft.EntityFrameworkCore v1.0.6
- Package:
- Microsoft.EntityFrameworkCore v1.1.6
- Package:
- Microsoft.EntityFrameworkCore v2.0.3
- Package:
- Microsoft.EntityFrameworkCore v2.1.11
- Package:
- Microsoft.EntityFrameworkCore v2.2.6
- Package:
- Microsoft.EntityFrameworkCore v3.0.0
- Package:
- Microsoft.EntityFrameworkCore v3.1.0
- Package:
- Microsoft.EntityFrameworkCore v5.0.0
- Package:
- Microsoft.EntityFrameworkCore v6.0.0
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
| Name | Description |
|---|---|
| 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
- 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
- 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
- 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
Entity Framework
Feedback
Was this page helpful?
