语言

EntityEntry.Property 方法

定义

重载

名称 说明
Property(IProperty)

提供对此实体的给定属性的更改跟踪信息和操作的访问权限。

Property(String)

提供对此实体的给定属性的更改跟踪信息和操作的访问权限。

Property(IProperty)

Source:
EntityEntry.cs
Source:
EntityEntry.cs
Source:
EntityEntry.cs
Source:
EntityEntry.cs
Source:
EntityEntry.cs

提供对此实体的给定属性的更改跟踪信息和操作的访问权限。

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

参数

property
IProperty

用于访问其信息和操作的属性。

返回

公开给定属性的更改跟踪信息和操作的对象。

注解

有关详细信息和示例,请参阅 EF Core 中的访问跟踪实体 。

适用于

Property(String)

Source:
EntityEntry.cs
Source:
EntityEntry.cs
Source:
EntityEntry.cs
Source:
EntityEntry.cs
Source:
EntityEntry.cs
Source:
EntityEntry.cs
Source:
EntityEntry.cs
Source:
EntityEntry.cs
Source:
EntityEntry.cs
Source:
EntityEntry.cs
Source:
EntityEntry.cs

提供对此实体的给定属性的更改跟踪信息和操作的访问权限。

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

参数

propertyName
String

用于访问其信息和操作的属性。

返回

公开给定属性的更改跟踪信息和操作的对象。

注解

有关详细信息和示例,请参阅 EF Core 中的访问跟踪实体 。

适用于