語言

EntityEntry.Property 方法

定義

多載

名稱 Description
Property(IProperty)

提供該實體特定屬性的變更追蹤資訊與操作存取。

Property(String)

提供該實體特定屬性的變更追蹤資訊與操作存取。

Property(IProperty)

來源:
EntityEntry.cs
來源:
EntityEntry.cs
來源:
EntityEntry.cs
來源:
EntityEntry.cs
來源:
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)

來源:
EntityEntry.cs
來源:
EntityEntry.cs
來源:
EntityEntry.cs
來源:
EntityEntry.cs
來源:
EntityEntry.cs
來源:
EntityEntry.cs
來源:
EntityEntry.cs
來源:
EntityEntry.cs
來源:
EntityEntry.cs
來源:
EntityEntry.cs
來源:
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 中的「存取追蹤實體 」。

適用於