語言

EntityEntry<TEntity>.ComplexProperty 方法

定義

多載

名稱 Description
ComplexProperty<TProperty>(String)

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

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

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

ComplexProperty<TProperty>(Expression<Func<TEntity,Nullable<TProperty>>>)

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

ComplexProperty<TProperty>(IComplexProperty)

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

ComplexProperty<TProperty>(String)

來源:
EntityEntry`.cs
來源:
EntityEntry`.cs
來源:
EntityEntry`.cs
來源:
EntityEntry`.cs

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

public virtual Microsoft.EntityFrameworkCore.ChangeTracking.ComplexPropertyEntry<TEntity,TProperty> ComplexProperty<TProperty>(string propertyName);
override this.ComplexProperty : string -> Microsoft.EntityFrameworkCore.ChangeTracking.ComplexPropertyEntry<'Entity, 'Property (requires 'Entity : null)>
Public Overridable Function ComplexProperty(Of TProperty) (propertyName As String) As ComplexPropertyEntry(Of TEntity, TProperty)

類型參數

TProperty

屬性的類型。

參數

propertyName
String

該物業可存取資訊與操作。

傳回

ComplexPropertyEntry<TEntity,TProperty>

一個揭露該屬性變更追蹤資訊與操作的物件。

備註

更多資訊與範例請參閱 EF Core 中的「存取追蹤實體 」。

適用於

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

來源:
EntityEntry`.cs
來源:
EntityEntry`.cs
來源:
EntityEntry`.cs
來源:
EntityEntry`.cs

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

public virtual Microsoft.EntityFrameworkCore.ChangeTracking.ComplexPropertyEntry<TEntity,TProperty> ComplexProperty<TProperty>(System.Linq.Expressions.Expression<Func<TEntity,TProperty?>> propertyExpression);
public virtual Microsoft.EntityFrameworkCore.ChangeTracking.ComplexPropertyEntry<TEntity,TProperty> ComplexProperty<TProperty>(System.Linq.Expressions.Expression<Func<TEntity,TProperty>> propertyExpression);
override this.ComplexProperty : System.Linq.Expressions.Expression<Func<'Entity, 'Property>> -> Microsoft.EntityFrameworkCore.ChangeTracking.ComplexPropertyEntry<'Entity, 'Property (requires 'Entity : null)>
Public Overridable Function ComplexProperty(Of TProperty) (propertyExpression As Expression(Of Func(Of TEntity, TProperty))) As ComplexPropertyEntry(Of TEntity, TProperty)

類型參數

TProperty

參數

propertyExpression
Expression<Func<TEntity,TProperty>>

一個 lambda 表達式,代表用來存取資訊與操作的屬性。

傳回

ComplexPropertyEntry<TEntity,TProperty>

一個揭露該屬性變更追蹤資訊與操作的物件。

備註

更多資訊與範例請參閱 EF Core 中的「存取追蹤實體 」。

適用於

ComplexProperty<TProperty>(Expression<Func<TEntity,Nullable<TProperty>>>)

來源:
EntityEntry`.cs

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

public virtual Microsoft.EntityFrameworkCore.ChangeTracking.ComplexPropertyEntry<TEntity,TProperty> ComplexProperty<TProperty>(System.Linq.Expressions.Expression<Func<TEntity,TProperty?>> propertyExpression) where TProperty : struct;
override this.ComplexProperty : System.Linq.Expressions.Expression<Func<'Entity, Nullable<'Property>>> -> Microsoft.EntityFrameworkCore.ChangeTracking.ComplexPropertyEntry<'Entity, 'Property (requires 'Entity : null and 'Property : struct)> (requires 'Property : struct)
Public Overridable Function ComplexProperty(Of TProperty As Structure) (propertyExpression As Expression(Of Func(Of TEntity, Nullable(Of TProperty)))) As ComplexPropertyEntry(Of TEntity, TProperty)

類型參數

TProperty

參數

propertyExpression
Expression<Func<TEntity,Nullable<TProperty>>>

一個 lambda 表達式,代表用來存取資訊與操作的屬性。

傳回

ComplexPropertyEntry<TEntity,TProperty>

一個揭露該屬性變更追蹤資訊與操作的物件。

備註

更多資訊與範例請參閱 EF Core 中的「存取追蹤實體 」。

適用於

ComplexProperty<TProperty>(IComplexProperty)

來源:
EntityEntry`.cs
來源:
EntityEntry`.cs
來源:
EntityEntry`.cs
來源:
EntityEntry`.cs

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

public virtual Microsoft.EntityFrameworkCore.ChangeTracking.ComplexPropertyEntry<TEntity,TProperty> ComplexProperty<TProperty>(Microsoft.EntityFrameworkCore.Metadata.IComplexProperty complexProperty);
override this.ComplexProperty : Microsoft.EntityFrameworkCore.Metadata.IComplexProperty -> Microsoft.EntityFrameworkCore.ChangeTracking.ComplexPropertyEntry<'Entity, 'Property (requires 'Entity : null)>
Public Overridable Function ComplexProperty(Of TProperty) (complexProperty As IComplexProperty) As ComplexPropertyEntry(Of TEntity, TProperty)

類型參數

TProperty

屬性的類型。

參數

complexProperty
IComplexProperty

該物業可存取資訊與操作。

傳回

ComplexPropertyEntry<TEntity,TProperty>

一個揭露該屬性變更追蹤資訊與操作的物件。

備註

更多資訊與範例請參閱 EF Core 中的「存取追蹤實體 」。

適用於